How many episodes have been directed by David Duchovny?
CREATE TABLE table_13336122_3 (title VARCHAR, directed_by VARCHAR)
SELECT COUNT(title) FROM table_13336122_3 WHERE directed_by = "David Duchovny"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13336122_3 (title VARCHAR, directed_by VARCHAR) Question: How many episodes have been directed by David Duchovny? [/INST] SELECT COUNT(title) FROM table_13336122_3 WHERE directed_by = "David Duchovny" </s>