Bill went shopping for fruits and vegetables. He purchased a number of potatoes, onions, and lemons in a ratio of 1 : 3 : 5, respectively. How many potatoes did Bill buy?
(1) Bill bought a total of 27 potatoes, onions, and lemons
(2) Bill bought 9 onions