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