user: Question: what is the number of losses with wins less than 4 and goals against more than 39?
Columns: ['Team', 'Games Played', 'Wins', 'Losses', 'Ties', 'Goals For', 'Goals Against']
Types: ['text', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: ['Smiths Falls Seniors', 7.0, 7.0, 0.0, 0.0, 35.0, 13.0]
SQL:

assistant: SELECT SUM("Losses") FROM "Table" WHERE "Goals Against" > 39.0 AND "Wins" < 4.0;