In the presence of all persons who may be present lawfully at the time, giving full view of the voting systems or printed return sheets, the officers of election shall determine and announce the results as shown by the counters or printed return sheets, including the votes recorded for each office on the write-in ballots, and shall also announce the vote on every question. The vote as registered shall be entered on the statement of results. When completed, the statement shall be compared with the number on the counters on the equipment or on the printed return sheets. If, on any ballot scanner, the number of persons voting in the election, or the number of votes cast for any office or on any question, totals more than the number of names on the pollbooks of persons voting on the machines, then the figures recorded by the machines shall be accepted as correct. A statement to that effect shall be entered by the officers of election in the space provided on the statement of results.
Va. Code § 24.2-657