Gianna, Jada, and Brittney and a bunch of other friends had a horseshoe competition. Jada and Brittney were eliminated after two rounds because they were too busy texting but Gianna went onto round eight to win 47 pieces of gum. Later, she gave two to each of her friends. She only has 1 remaining. How many friends does she have?