Secretary of State William Galvin's office said Monday the official turnout for the election was 3,512,866 voters.