Three.
”# In 1876 there were a total of 369 electoral votes available with 185 needed to win. Republican Rutherford B. Hayes, with 4,036,298 popular votes won 185 electoral votes. His main opponent, Democrat Samuel J. Tilden, won the popular vote with 4,300,590 votes, but won only 184 electoral votes. Hayes was elected president.
# In 1888 there were a total of 401 electoral votes available with 201 needed to win. Republican Benjamin Harrison, with 5,439,853 popular votes won 233 electoral votes. His main opponent, Democrat Grover Cleveland, won the popular vote with 5,540,309 votes, but won only 168 electoral votes. Harrison was elected president.
# In 2000 there were a total of 538 electoral votes available with 270 needed to win. Republican George W. Bush, with 50,456,002 popular votes won 271 electoral votes. His Democratic opponent, Al Gore, won the popular vote with 50,999,897 votes, but won only 266 electoral votes. Bush was elected president.”