Your understanding is completely wrong:
Milestones and Moments in Global Census History
3800 BCE The Babylonian Empire takes the first known census, counting livestock and quantities of butter, honey, milk, wool, and vegetables.
2 CE China’s Han Dynasty records the oldest surviving census data, showing a population of 57.7 million people living in 12.4 million households. Chengdu, the largest city, has a population of 282,000.
1086 While not a census in the strictest sense of the word, the Domesday Book surveys English landowners and their holdings, forming the basis for the tax system implemented by William the Conqueror.
1250-1270 The Mongols take a census of captured Chinese, Russian, and Asian territories to demand resources from conquered peoples in exchange for a peace treaty. The resources are used to conduct further conquests.
1700s-1800s European colonialist nations like England, France, and Denmark avoid conducting censuses of their own countries due to opposition from the nobility, who fear losing power to the central government. The story is quite different when it comes to their colonies in the Americas, the Caribbean, and Iceland, however, where censuses are used to promote growth and keep the colonies under control and well-taxed.
1790 Enumerators on horseback begin the first U.S. census, which takes 18 months to complete. The results are used to establish the size of the House of Representatives. Enslaved people are counted as three-fifths of a person until after the Civil War (1861-1865), and Native Americans aren’t counted at all until 1860.