No votes for write-in candidates shall be counted or tabulated unless:
(1) The candidate notifies in writing the county board of election commissioners of each county in which the candidate seeks election at least ninety (90) days prior to the election and files the notice with either:
(A) The Secretary of State, if a candidate for the United States Senate, the United States House of Representatives, or any state or district office; or
(B) The county clerk, if a candidate for a county or township office;
(2) The candidate files with the county clerk or the Secretary of State, as required, a political practices pledge and an affidavit of eligibility for the office at the same time the candidate files his or her notice of write-in candidacy;
(3) The notice of write-in candidacy, the political practices pledge, and the affidavit of eligibility are filed during the party filing period; and
(4) The name written on the ballot is the same name listed on the write-in candidate's political practices pledge, except that any abbreviation, misspelling, or other minor variation in the form of the name of the candidate shall be disregarded if the intention of the voter may be ascertained.