There are two competing incentives for census data.
1) Government wants to know its own population so it knows how much tax revenue to expect.
2) Government wants to appear larger to appear stronger to both enemies and friends.