CREATE TABLE table_40844 ("Rider" TEXT, "Bike" TEXT, "Laps" FLOAT, "Time" TEXT, "Grid" FLOAT)

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_40844 WHERE "Time" = '+7.277' AND "Grid" > '6'
SELECT SUM("Laps") FROM "table_40844" WHERE "Grid" > '6' AND "Time" = '+7.277'