EXPLAINER: How the AP counts the vote on election night