More than half of all terrorism attacks in the world in 2017 took place in four countries-Iraq (23%), Afghanistan (13%), India (9%), and Pakistan (7%), according to the Global Terrorism Database (GTD) compiled by the National Consortium for the Study of Terrorism and Responses to Terrorism based at the University of Maryland.