Total number of records in each month