user: Question: How many laps for a grid of over 18 and retired due to Electrical failure?
Columns: ['Driver', 'Constructor', 'Laps', 'Time/Retired', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Nigel Mansell', 'Williams - Honda', 43.0, '1:27:57.925', 5.0]
SQL:

assistant: SELECT SUM("Laps") FROM "Table" WHERE "Grid" > 18.0 AND "Time/Retired" = 'Electrical';