Can't wrap my head around GROUP BY - dataview

the formula that I shared count the number of completed ● and uncompleted ○ todos within each note. This is an example of the result. I like this approach because it’s more granular than a progress bar, it tells me how many todos I have and also give me an idea of how long have they been open for - just check line 3 of the screenshot where you can see a ○ among many ●. With this clarification, do you think it’s possible to render this type of progress bar in a table with a group by function?