Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
When the laps driven were under 9 and the time/retired recorded was engine, what's the total number of grid values?

### Inputs:
table_name: table, columns: ['Driver', 'Constructor', 'Laps', 'Time/Retired', 'Grid']

### Response:
SELECT COUNT Grid FROM table WHERE Laps < 9 AND Time/Retired = engine