With Michael Phelps setting the all-time medals record with 20, it has sparked debate over whether or not he is the greatest Olympian ever. But maybe more impressive than his 20 medals overall, is that he has won 16 gold medals.

In fact, of the 94 countries that have won at least one medal at the 2004, 2008, and 2012 Summer Olympics (so far), only 83 have won fewer gold medals than Phelps.

Here are the top gold medal-winning countries from the most recent Olympics and how Phelps compares...

Data via DatabaseOlympics.com. Data for countries was as of this morning.