The example cells in the documentation each have a count of the cells inside their section:
Cell[TextData[{"Basic Examples", " ", Cell["(4)", "ExampleCount"]}], "ExampleSection", "ExampleSection"] But this is static content, how exactly would this work dynamically? I'd like to make my own cell style where the cell dingbat counts the number of cells inside the cell group it contains (and updates itself dynamically of course).
I've looked at the stylesheet for outline-styled notebooks and then tried using the Counter* options, but these are for dynamic tallying, not content counting and there's not much documentation on these esoteric front-end things like
CounterBoxOptions->{CounterFunction:>CapitalRomanNumeral}] Any help would be appreciated.
