A quick google suggests 50k police officers and 33k soldiers - pretty unsurprising.
The budget for the US federal judiciary is bigger than the GDP of 64 countries[1]
[1] https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nomi...
The population of NYC may well be 5x higher than the combined populations of all of those countries.
Do you have a better example?
Edit: For reference, the UK spends roughly $150 per capita.
https://www.statista.com/statistics/1098367/justice-spending...
I'm assuming the Ministry of Justice figure is exclusive of prisons. If the figure includes prisons, which cost ~$85/citizen in the U.K.[2] then court system expenditures would be greater in the U.S. (~$90) than the U.K. (~$65).
[1] $2.5b over a population of 39 million. https://lao.ca.gov/Publications/Report/4097#:~:text=The%2020....
[2] https://www.statista.com/statistics/298654/united-kingdom-uk...
Granted I don't know exactly what is within their remit, but $8B is a fuck-tonne of money.