Group results by day and group by hour.
One RG for day data data grouped by day
One nested RG for your data cells data grouped by hour
Aggregate the count.