Was M3 produced by a Canadian male film editor , written by M4 and M5 , and produced by M6
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.nationality ns:m.0d060g .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies M6 .
M3 ns:film.film.written_by M4 .
M3 ns:film.film.written_by M5
}