Donald Trump is likely to be the first Republican presidential candidate to win the popular vote in the last 20 years.