New data shows terror attacks are becoming less frequent and much less deadly