Section 9. If the town clerk, selectmen, assessors, treasurer, collector of taxes and school committee are voted for on one ballot, the moderator shall cause all such ballots, when canvassed and counted, and record thereof has been made, publicly to be enclosed in envelopes, which shall be sealed and endorsed, and certified in the manner required by section one hundred and seven of chapter fifty-four.