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_25 (laps VARCHAR, grid VARCHAR, constructor VARCHAR, driver VARCHAR)
  ### Question:
  How many laps were completed by Piers Courage when BRM was the constructor and the grid is larger than 8?
  ### Answer:
  SELECT COUNT(laps) FROM table_name_25 WHERE constructor = "brm" AND driver = "piers courage" AND grid > 8