user: ### NOW ANSWER:
Question: How many Laps with a Grid smaller than 3 did Driver niki lauda have?
Columns: ['Driver', 'Constructor', 'Laps', 'Time/Retired', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Niki Lauda', 'Ferrari', 78.0, '1:42:21.6', 3.0]
SQL:

assistant: SELECT AVG("Laps") FROM "Table" WHERE "Driver" = 'niki lauda' AND "Grid" < 3.0;