I think that the misleading part is that many (most) of the 40000 buildings in Manhattan are skyscrapers and the 40000 buildings in the ancient city had only 1 (or 2?) stories. In particular Manhattan has a population of 1600000 and many buildings are offices without permanent population, but that city had only 100000 habitants.