Best way to number bars with repeated content?

there is a passage in a string part, where the players have to play 18 bars of a sustained note with tremolo. I do want to add a number on top of each of these bars, so the players don’t loose the track and get lost. Unfortunately I didn’t succeed in finding out how that can be achieved in dorico. In Sibelius I used a Plug-in that worked simply and well. Any advice is welcome. Rainer

This is probably still the best way: How would you number repeated bars for the performer - #9 by pianoleo