question: Were M2 , M3 , and M4 executive produced by a editor , director , and executive producer of M0 and written by a cinematographer
query: SELECT count(*) WHERE {
  ?x0 ns:film.director.film M0 .
  ?x0 ns:film.editor.film M0 .
  ?x0 ns:film.producer.films_executive_produced M0 .
  ?x1 a ns:film.cinematographer .
  M2 ns:film.film.executive_produced_by ?x0 .
  M2 ns:film.film.written_by ?x1 .
  M3 ns:film.film.executive_produced_by ?x0 .
  M3 ns:film.film.written_by ?x1 .
  M4 ns:film.film.executive_produced_by ?x0 .
  M4 ns:film.film.written_by ?x1
  }