Count of issues updated more than 5 days ago

Sorry about the formatting of my table. I was trying to show an example of my desired output. Essentially, I would like to get a something that says there was 2 critical issues with a last updated date of 5 days ago, 5 major issues with a last updated date of 5 days ago, and 10 minor issues with a last updated date of 5 days ago.