A truck is carrying grapefruit juice, pineapple juice, and tomato juice bottles in a ratio of 3 : 1 : 2. If there are 14 pineapple juice bottles, then how many juice bottles in total are there?