(1) If it appears as evidenced by the abstract of votes that any candidate failed to be nominated or elected by a margin of (a) one percent or less of the votes received by the candidate who received the highest number of votes for the office at an election in which more than five hundred total votes were cast or (b) two percent or less of the votes received by the candidate who received the highest number of votes for the office at an election in which five hundred or less total votes were cast, then such candidate shall be entitled to a recount. Any losing candidate may waive his or her right to a recount by filing a written statement with the Secretary of State, election commissioner, or county clerk with whom he or she made his or her filing. All expenses of a recount under this section shall be paid by those political subdivisions involved in the recount.
(2) Recounts shall be made by the county canvassing board which officiated in making the official county canvass of the election returns. If any member of the county canvassing board cannot participate in the recount, another person shall be appointed by the election commissioner or county clerk to take the member's place.
(3) Recounts for candidates who filed with the Secretary of State shall be made on the fifth Wednesday after the election and shall commence at 9 a.m. The Secretary of State shall inform each election commissioner or county clerk of the names of the candidates for which the board of state canvassers deems a recount to be necessary.
(4) The election commissioner or county clerk shall be responsible for recounting the ballots for those candidates for whom the county canvassing board deems a recount to be necessary. The recount shall be made as soon as possible after the adjournment of the county canvassing board, except that if a recount is required under subsection (3) of this section, the recounts may be conducted concurrently.
(5) The Secretary of State, election commissioner, or county clerk shall notify all candidates whose ballots will be recounted of the time, date, and place of the recount. Candidates whose ballots will be recounted may be present or be represented by an agent appointed by the candidate.
(6) The procedures for the recounting of ballots shall be the same as those used for the counting of ballots on election day. The recount shall be conducted at the county courthouse, except that if vote counting devices are used for the counting or recounting, such counting or recounting may be accomplished at the site of the devices. Counties counting ballots by using a vote counting device shall first recount the ballots by use of the device. If substantial changes are found, the ballots shall then be counted using such device in any precinct which might reflect a substantial change.