Might as well answer my own question.
The solution was simple, just using Untable with the "Total" field as the first argument (or use any other filed with Count)
index=mydata|untable Count,Column,Value|stats sum(total) by Column,Value
Look at all the pretty pie charts!
Sample search on forwarders data:
index=_internal source=*metrics.log|table *|untable index,column,value|stats count(index) by column,value
... View more