God Knows Everything, but He Still Needed a Census in the Bible?

Biblical censuses did not inform an ignorant God. They served military, tribal, territorial, genealogical, civil, and moral purposes for humans.