Continuous Bar Numbers and Rehearsal Marks

I did figure out how to do this manually.