Terrorism deaths are down worldwide, but way up in richer countries