Any inspector, clerk, or other person who discloses how any elector voted shall be guilty, upon conviction, of a Class A misdemeanor.