Where the grid is under 19, the time finished was logged as received outside assistance, what's the total number of laps?
SELECT COUNT Laps FROM table WHERE Time/Retired = received outside assistance AND Grid < 19