How many laps for a grid larger than 1 with a Time/Retired of halfshaft?
CREATE TABLE table_name_31 (
    laps VARCHAR,
    grid VARCHAR,
    time_retired VARCHAR
)
SELECT laps FROM table_name_31 WHERE grid > 1 AND time_retired = "halfshaft"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many laps for a grid larger than 1 with a Time/Retired of halfshaft? ### Input: CREATE TABLE table_name_31 (
    laps VARCHAR,
    grid VARCHAR,
    time_retired VARCHAR
) ### Response: SELECT laps FROM table_name_31 WHERE grid > 1 AND time_retired = "halfshaft"