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_17012578_37 (Ends VARCHAR, pa VARCHAR)
  ### Question:
  How many values are in the ends won cell corresponding to a PA of 39?
  ### Answer:
  SELECT COUNT(Ends) AS won FROM table_17012578_37 WHERE pa = 39