Prior to the 2016 election how many people have been elected US President by winning the majority of the electoral college vote and losing the popular vote?

History Trivia Question: Prior to the 2016 election how many people have been elected US President by winning the majority of the electoral college vote and losing the popular vote?