He took a census of the people in his nation