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