CREATE TABLE table_name_25 (grid INTEGER, time_retired VARCHAR(255), laps VARCHAR(255))
What is the number of the grid when there was a Time/Retired of engine and less than 9 laps?
    
SQL: SELECT SUM(grid) FROM table_name_25 WHERE time_retired = "engine" AND laps < 9