The number of terrorist attacks have increased from 2002 to 2017, but the numbers are down from a spike in 2014.