NBC: China tied the U.S. on Olympic golds — here's how