question: Was M0 a film director that M2 , M3 , M4 , and M5 were written by and were executive produced by
query: SELECT count(*) WHERE {
  M0 a ns:film.director .
  M0 ns:film.producer.films_executive_produced M2 .
  M0 ns:film.producer.films_executive_produced M3 .
  M0 ns:film.producer.films_executive_produced M4 .
  M0 ns:film.producer.films_executive_produced M5 .
  M0 ns:film.writer.film M2 .
  M0 ns:film.writer.film M3 .
  M0 ns:film.writer.film M4 .
  M0 ns:film.writer.film M5
  }