CREATE TABLE table_17641206_6 (episode VARCHAR(255), written_by VARCHAR(255))
Name the total number of episodes written by david cantor
    
SQL: SELECT COUNT(episode) FROM table_17641206_6 WHERE written_by = "David Cantor"