write method to fetch crime count per month