I have a book containing hundreds of activities for teachers. Each activity is designated with
\section is never used for anything else.
I need some way to count how many times
\section appears in the document. Is there some built-in counter or some other way to get this value?