A common convention regarding Bar Numbers and Repeat Endings is taking the Repeat Ending boxes (1.2. etc.) and treating them as a single measure (the same bar number). Currently, Dorico assigns consecutive Bar Numbers to Repeat Ending measures, and this behavior can be changed by adding a Bar Number Change easily, but it would be great if there was an option to not count Bar Numbers in Repeat Endings.
I attach an example of a Henle Edition that shows this kind of numbering.