How do you measure the effectiveness of spending intended to prevent terror attacks?

The lack of terror attacks in the aftermath of such spending is plainly a poor guide, as there may have been no terror attacks in the absence of spending. Alternatively, as we saw last week, some forms of war-on-terror spending have increased the likelihood of terrorist attacks that in the absence of spending would not have occurred.