Adding "total" to countsByDate and countsByMonth routes