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_12 (losses VARCHAR, team VARCHAR, goals_for VARCHAR)
  ### Question:
  How many times has the Cornwall HC team, that has scored more than 18 goals, lost ?
  ### Answer:
  SELECT COUNT(losses) FROM table_name_12 WHERE team = "cornwall hc" AND goals_for > 18