I have a contract model containing a start and end datetime field. I want to show in a graph how many contracts are active per month (the month is between start and end time