The docs give examples of using countPercentRepeats to get a measure counter on measures generated by '\repeat percent', but those omit the "1" over the original, written-out measure. The docs also have examples of using the Measure_counter_engraver and \startMeasureCount (and \stopMeasureCount) to get measure counts of arbitrary segments.
If I would like a "1" over the first, written-out measure of all of my '\repeat percent's I could go through and add a \startMeasureCount and \stopMeasureCount around all of them, as in the second system in my example link, but that's obnoxious and risks missing some.
Is there a better way? Something I'm missing on the RepeatPercentCounter object? Maybe a music function I could define and use instead of '\repeat percent` as a backup?
Evan