Calculate count by end date

hi, i want to calculate monthly count by end date in JIRA, could you help on it?

for example, if end date in January, the the summary of Jan add count 1
end date|485x238