CREATE TABLE table_name_56 (laps INT, time VARCHAR, grid VARCHAR)

What is the total number of laps for the time of +7.277 and the grid number of more than 6?
SELECT SUM(laps) FROM table_name_56 WHERE time = "+7.277" AND grid > 6
SELECT SUM("laps") FROM "table_name_56" WHERE "+7.277" = "time" AND "grid" > 6