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_99 (attendance VARCHAR, points VARCHAR, home VARCHAR)
  ### Question:
  What is the total number of attendence has points greater than 40, and detroit as the home?
  ### Answer:
  SELECT COUNT(attendance) FROM table_name_99 WHERE points > 40 AND home = "detroit"