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

### Instruction:
What is the total number of laps associated with 8 points and a grid under 8?

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

### Response:
SELECT COUNT Laps FROM table WHERE Points = 8 AND Grid < 8