Poland was partitioned between German Prussia, Russian Empire, and Austria-Hungary since the 1770s.
In addition to proper census, there were also:
Polish people were also subject to census during times when Polish territories were partitioned before 1918, in Austro-Hungary, Russian Empire and Imperial Germany (Census in Germany).