human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year Location, Mens Singles, Womens Singles, Mens Doubles, Womens Doubles
###Question: How many times has Sun Jin won the women's doubles?
gpt
SELECT COUNT Mens Doubles FROM table WHERE Womens Singles = Sun Jin