question: Was M2 written by a Canadian actor , produced by M3 , and edited by M4 and M5
query: SELECT count(*) WHERE {
  ?x0 a ns:film.actor .
  ?x0 ns:people.person.nationality ns:m.0d060g .
  M2 ns:film.film.edited_by M4 .
  M2 ns:film.film.edited_by M5 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies M3 .
  M2 ns:film.film.written_by ?x0
  }