human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Position, Sail number, Yacht, State/country, Yacht type, LOA (Metres), Skipper, Corrected time d:hh:mm:ss
###Question: How many yachts had a position of 3?
gpt
SELECT COUNT Yacht FROM table WHERE Position = 3