user: ### NOW ANSWER:
Question: How many Losses have an NTFA Div 2 of perth, and Wins smaller than 10?
Columns: ['NTFA Div 2', 'Wins', 'Byes', 'Losses', 'Draws', 'Against']
Types: ['text', 'real', 'real', 'real', 'real', 'real']
Sample row: ['Fingal Valley', 14.0, 0.0, 2.0, 0.0, 957.0]
SQL:

assistant: SELECT COUNT("Losses") FROM "Table" WHERE "NTFA Div 2" = 'perth' AND "Wins" < 10.0;