How many titles are there for the episode written by Tom Scharpling? 
CREATE TABLE table_25716401_1 (title VARCHAR, written_by VARCHAR)
SELECT COUNT(title) FROM table_25716401_1 WHERE written_by = "Tom Scharpling"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25716401_1 (title VARCHAR, written_by VARCHAR) Question: How many titles are there for the episode written by Tom Scharpling?  [/INST] SELECT COUNT(title) FROM table_25716401_1 WHERE written_by = "Tom Scharpling" </s>