human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year, Tournament, Winner, Margin of victory, Winners share ( $ ), Par, Course length
###Question: When 1999 is the year how many tournaments are there?
gpt
SELECT COUNT Tournament FROM table WHERE Year = 1999