How was the census in the era of Mughals?