question: Was M3 edited by M4 and M5 , written by a cinematographer of M0 and M1 , and produced by a production company
query: SELECT count(*) WHERE {
  ?x0 ns:film.cinematographer.film M0 .
  ?x0 ns:film.cinematographer.film M1 .
  ?x1 a ns:film.production_company .
  M3 ns:film.film.edited_by M4 .
  M3 ns:film.film.edited_by M5 .
  M3 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
  M3 ns:film.film.written_by ?x0
  }