At its peak, Tenochtitlan alone had a population of 150K-200K people. If you include the surrounding city states, you get about a million or so people. All of them within roughly 15 miles from a giant river or on islands in the river.
(Sorry to chime in, kind of a nerd about this subject)