Section 51. No ballots cast at a state primary in cities or towns shall be counted until the close of the polls.