A researcher asked 120 people if they preferred swimming in a pool or swimming at the beach. The data collected showed that 2 out of 10 people preferred swimming at the beach. What was the total number of people who preferred swimming at the beach?