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