question: Did a film director that M1 and M2 were written and executive produced by executive produce and write M3
query: SELECT count(*) WHERE {
  ?x0 a ns:film.director .
  ?x0 ns:film.producer.films_executive_produced M1 .
  ?x0 ns:film.producer.films_executive_produced M2 .
  ?x0 ns:film.producer.films_executive_produced M3 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2 .
  ?x0 ns:film.writer.film M3
  }