user: Question: How many goals against total did the team with more than 52 goals and fewer than 10 losses have?
Columns: ['Position', 'Club', 'Played', 'Points', 'Wins', 'Draws', 'Losses', 'Goals for', 'Goals against', 'Goal Difference']
Types: ['real', 'text', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'RCD Mallorca', 30.0, 40.0, 16.0, 8.0, 6.0, 44.0, 22.0, 22.0]
SQL:

assistant: SELECT SUM("Goals against") FROM "Table" WHERE "Goals for" > 52.0 AND "Losses" < 10.0;