question: Was M3 produced by a distributor of M2 , edited by M4 and M5 , and written by a Canadian film editor
query: SELECT count(*) WHERE {
  ?x0 a ns:film.editor .
  ?x0 ns:people.person.nationality ns:m.0d060g .
  ?x1 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M2 .
  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
  }