I don't know what you're arguing, here. Yes, by my reasoning it's fair to count some of that spending toward fighting terrorism - in fact, I believe that should be a significant portion of our response: investing in resiliency that will help in the event of terrorism but also in the event of the myriad other disasters we are occasionally faced with, and hopefully even when there's no disaster at all.
It's still wrong to say we spend $0 on X, Y, and Z.