Was M3 produced by a Canadian cinematographer of M1 and M2
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M1 .
?x0 ns:film.cinematographer.film M2 .
?x0 ns:people.person.nationality ns:m.0d060g .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}