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_87 (laps VARCHAR, constructor VARCHAR, driver VARCHAR)
  ### Question:
  When the driver richard attwood has a constructor of brm, what is the number of laps?
  ### Answer:
  SELECT laps FROM table_name_87 WHERE constructor = "brm" AND driver = "richard attwood"