user: ### NOW ANSWER:
Question: How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25?
Columns: ['Rider', 'Bike', 'Laps', 'Time', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Lorenzo Lanzi', 'Ducati 1098 RS 08', 23.0, '37:01.894', 5.0]
SQL:

assistant: SELECT SUM("Laps") FROM "Table" WHERE "Time" = 'accident' AND "Rider" = 'carmelo morales' AND "Grid" > 25.0;