The New York City Police Department has a $3.3 billion annual budget, larger than all but 19 of the world’s armies.