Uhm, censuses are described in the Bible - in fact one has a central enough role that even a committed heathen like me is aware of it -, and existed many places on a similar timeline. I have no problem believing that they were imprecise, and not widespread enough to give good global numbers, but they had certainly been invented much earlier.