The City of Chicago is also the entirety of Cook County.
That’s news to me. I’m sitting in Cook County at the moment, and the Chicago city limit (probably) is more than twenty miles away.
2010 population of Chicago 2695598
2010 population of Cook County 5194675