question: Was M3 written by a editor and cinematographer of M0 and M1 , written by M4 , and edited by a film director
query: SELECT count(*) WHERE {
  ?x0 ns:film.cinematographer.film M0 .
  ?x0 ns:film.cinematographer.film M1 .
  ?x0 ns:film.editor.film M0 .
  ?x0 ns:film.editor.film M1 .
  ?x1 a ns:film.director .
  M3 ns:film.film.edited_by ?x1 .
  M3 ns:film.film.written_by ?x0 .
  M3 ns:film.film.written_by M4
  }