For example, I created the styles "p.FieldName" and "p.FieldDefinition" that I use for documenting field definitions in my project. The project has thousands of field definitions spread across hundreds of topics. I want to count how many times the "p.FieldName" style is used in the project, to determine the exact number of fields I have documented.
The best idea I have so far is to use mc-auto-number-format to insert a unique string of text, such as "FieldName=", to each paragraph that uses the "p.FieldName" style. I can then generate a PDF that contains every topic in the project, and use Advanced Find in Acrobat to count the number of times the text "FieldName=" displays in the PDF. Not very graceful, admittedly.
I bet there is another, more elegant way, and I'm sure I'll be embarrassed