Brazil has won more Olympic medals in beach volleyball ( 7 ) than any other nation , but the United States ( five total medals ) is the only country to win gold at each of the three Olympics in which the sport has been contested .