States’ laws regarding ballot counting, mail-in voting, early voting and voter ID requirements vary widely.