Answer: 5
The last time this scenario occurred was in 2016 when Donald Trump beat opponent Hillary Clinton. Clinton won 3 million more popular votes than Trump. Prior to this, George W. Bush won more electoral votes in 2000 but 500,000 less popular votes than his opponent Al Gore.