FYI, it's actually pretty rare to have a President who lost the popular vote, it's only happened 5 times in US history (1824, 1876,1888, 2000 and 2016).
Just did the math, there have been 56 Presidential elections, so just under 9% of elections have had this outcome.