user: Question: How many episodes were titled "A Pig in a Poke"? 
Columns: ['No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'Production code']
Types: ['real', 'text', 'text', 'text', 'text', 'real']
Sample row: [1.0, '"Oliver Buys a Farm"', 'Ralph Levy', 'Jay Sommers', 'September15,1965', 1.0]
SQL:

assistant: SELECT COUNT("Written by") FROM "Table" WHERE "Title" = '"A Pig in a Poke"';