How can I get a running total of submissions per category?