text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_15 (laps VARCHAR, time_retired VARCHAR, grid VARCHAR)
  ### Question:
  Where the grid is under 19, the time finished was logged as received outside assistance, what's the total number of laps?
  ### Answer:
  SELECT COUNT(laps) FROM table_name_15 WHERE time_retired = "received outside assistance" AND grid < 19