<human>:  How many gold medals did the USA win in the 2012 Olympics?
<bot>: The USA won a total of 28 gold medals in the 2012 Olympics. The USA won the most gold medals in the swimming competition, with 13. The USA also won gold medals in the gymnastics, table tennis, fencing, and rowing competitions.