Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_77520 ( "Team" text, "Games Played" real, "Wins" real, "Losses" real, "Ties" real, "Goals For" real, "Goals Against" real )

### Question ###
what is the total number of goals for when the ties is more than 0, the goals against is more than 35 and the wins is less than 2?

### Accurate SQL ###

SELECT COUNT("Goals For") FROM table_77520 WHERE "Ties" > '0' AND "Goals Against" > '35' AND "Wins" < '2'