user: Question: How many wins when points are more than 51, goals against are more than 23 and losses are 5?
Columns: ['Position', 'Club', 'Played', 'Wins', 'Draws', 'Losses', 'Goals for', 'Goals against', 'Points', 'Goal Difference']
Types: ['real', 'text', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'FK Vindava Ventspils', 30.0, 26.0, 2.0, 2.0, 116.0, 11.0, 80.0, 105.0]
SQL:

assistant: SELECT SUM("Wins") FROM "Table" WHERE "Points" > 51.0 AND "Goals against" > 23.0 AND "Losses" = 5.0;