Instruct: When the laps driven were under 9 and the time/retired recorded was engine, what's the total number of grid values?
Output: SELECT COUNT Grid FROM table WHERE Laps < 9 AND Time/Retired = engine