Did M4 star M3 's director and star a female Canadian cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.0d060g .
?x1 ns:film.director.film M3 .
M4 ns:film.film.starring/ns:film.performance.actor ?x0 .
M4 ns:film.film.starring/ns:film.performance.actor ?x1
}