Were M3 and M5 directed by M4 and edited by a male Canadian cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.nationality ns:m.0d060g .
M3 ns:film.film.directed_by M4 .
M3 ns:film.film.edited_by ?x0 .
M5 ns:film.film.directed_by M4 .
M5 ns:film.film.edited_by ?x0
}