text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_27547668_4 (directed_by VARCHAR, written_by VARCHAR)
  ### Question:
  what is the total number of films directy and written by john callaghan?
  ### Answer:
  SELECT COUNT(directed_by) FROM table_27547668_4 WHERE written_by = "John Callaghan"