user: ### NOW ANSWER:
Question: When the country was Scotland, how many ends were won?
Columns: ['Country', 'Skip', 'W', 'L', 'PF', 'PA', 'Ends Won', 'Ends Lost', 'Blank Ends', 'Stolen Ends', 'Shot %']
Types: ['text', 'text', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: ['China', 'Wang Bingyu', 10.0, 1.0, 81.0, 53.0, 51.0, 38.0, 11.0, 19.0, 81.0]
SQL:

assistant: SELECT COUNT("Ends Won") FROM "Table" WHERE "Country" = 'Scotland';