India begins counting its population in historic census