CREATE TABLE table_17012578_37 (Ends VARCHAR, pa VARCHAR)

How many values are in the ends won cell corresponding to a PA of 39?
SELECT COUNT(Ends) AS won FROM table_17012578_37 WHERE pa = 39
SELECT COUNT("Ends") AS "won" FROM "table_17012578_37" WHERE "pa" = 39