human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Team, Outgoing manager, Manner of departure, Date of vacancy, Replaced by, Date of appointment, Position in table
###Question: How many teams had an outgoing manager of antonio gómez
gpt
SELECT COUNT Manner of departure FROM table WHERE Outgoing manager = Antonio Gómez