Google identifies data in a lot of fields across the web and population is one of them. To get the local population of a city, a state or a nation, simply type in Google search:
population new york population paris population shanghai population CA
Or
population california population japan
What can be more handy. Google has all the historical population data and figures across the entire US and you can view them in a comparison chart at here.

This doesn’t work for every municipality.