Create a report that shows issues In Status and Average Time in that Status split by month

Can you help me build a report that shows the number of issues in a specific status and the average of days in that status but counting the days just inside that particular period?

Something like this:

In March, we had 15 issues In Progress and the average day in status was 2 days.

I just want to count the days that issues were In Progress in March and calculate the average of days to that issues.

Thanks