CREATE TABLE table_38271 ("NTFA Div 2" CLOB, "Wins" FLOAT, "Byes" FLOAT, "Losses" FLOAT, "Draws" FLOAT, "Against" FLOAT)

How many Losses have an NTFA Div 2 of perth, and Wins smaller than 10?
SELECT COUNT("Losses") FROM table_38271 WHERE "NTFA Div 2" = 'perth' AND "Wins" < '10'
SELECT COUNT("Losses") FROM "table_38271" WHERE "NTFA Div 2" = 'perth' AND "Wins" < '10'