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