user: ### NOW ANSWER:
Question: What is the number  of the series written by Teresa Lin? 
Columns: ['No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'Production code', 'U.S. viewers (millions)']
Types: ['real', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: [1.0, '" Pilot "', 'Greg Yaitanes', 'Hart Hanson', 'September13,2005', '1AKY79', '10.79']
SQL:

assistant: SELECT COUNT("No. in series") FROM "Table" WHERE "Written by" = 'Teresa Lin';