Bars indicate a usually regular pattern of beats, determined by the prevailing time signature. Bars are separated from adjacent bars by vertical barlines, and each bar has a unique bar number.
Dorico Pro automatically numbers bars and shows barlines between bars as required for the prevailing time signature.