The Associated Press count of the dead from the worst tragedy to strike the hajj in a quarter-century comes as Saudi Arabia faces threats ranging from an Islamic State insurgency, a war in Yemen against Shiite rebels and weakening global oil prices gnawing away at its reserves.