Predictive Modeling to Counter Terrorist Attacks