All inspectors of elections in the election precincts shall, immediately on the closing of the polls, count the votes polled, and no votes shall be counted until the polls are closed.