user: ### NOW ANSWER:
Question: What is the total number of Tests when the lost is less than 9 for sir fred allen?
Columns: ['Name', 'Years', 'Tests', 'Drew', 'Lost', 'Win percentage']
Types: ['text', 'text', 'real', 'real', 'real', 'text']
Sample row: ['Alex McDonald', '1949', 4.0, 0.0, 4.0, '0%']
SQL:

assistant: SELECT COUNT("Tests") FROM "Table" WHERE "Lost" < 9.0 AND "Name" = 'sir fred allen';