Just a little observation.
Every medal table I have ever seen in all my time following sport has been ranked with the number of golds being the primary ranking factor, with silvers and bronzes deciding ties. I checked some news site - British, German, Australian, Canadian - they all use the same system. I checked the official Olympics site - that uses that system too.
However, CNN (via Sports Illustrated) doesn't. It ranks the teams by aggregate medal count i.e. all of the medals added together with no weight given to golds or silvers. And guess what? That just sneaks the USA ahead of China in the medal table.
I had to laugh.