Inspectors of elections in the voting places shall, immediately on the closing of the polls, count the votes polled, and no votes shall be counted until the polls are closed.