CREATE TABLE table_name_84 (laps INT, grid VARCHAR, time VARCHAR, rider VARCHAR)

How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25?
SELECT SUM(laps) FROM table_name_84 WHERE time = "accident" AND rider = "carmelo morales" AND grid > 25
SELECT SUM("laps") FROM "table_name_84" WHERE "accident" = "time" AND "carmelo morales" = "rider" AND "grid" > 25