CREATE TABLE table_name_97 (laps INTEGER, grid VARCHAR(255), time_retired VARCHAR(255))
How many Laps have a Grid smaller than 5, and a Time/Retired of retirement?
    
SQL: SELECT SUM(laps) FROM table_name_97 WHERE grid < 5 AND time_retired = "retirement"