Elva Ramos won an election for city council with 3110 votes. Her two opponents had 1022 and 1211 votes. How many votes were cast in that election?