Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_6907 ( "Name" text, "Years" text, "Tests" real, "Drew" real, "Lost" real, "Win percentage" text )

### Question ###
What is the total number of Tests when the lost is less than 9 for sir fred allen?

### Accurate SQL ###

SELECT COUNT("Tests") FROM table_6907 WHERE "Lost" < '9' AND "Name" = 'sir fred allen'