CREATE TABLE table_25716397_1 (title VARCHAR, written_by VARCHAR)

How many titles does the episode written by Joe Toplyn have?
SELECT COUNT(title) FROM table_25716397_1 WHERE written_by = "Joe Toplyn"
SELECT COUNT("title") FROM "table_25716397_1" WHERE "Joe Toplyn" = "written_by"