MainBar: Change calling order and flag usage for sample count, too