Question: How many episodes  of 30 minutes were written by John Sullivan?
SQL: SELECT COUNT Duration FROM table WHERE Written by = John Sullivan