Say I have a variable called "status" within a page template in Confluence, and the possible values for that variable are 0, 1 and 2...
How do I create a table which displays the number of pages holding each status in a parent page or ideally my space overview page:
i.e.
Status Frequency
0 36
1 79
2 13