Was a film whose Canadian cinematographer and executive producer wrote M1 produced by M3 's distributor
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.cinematography ?x1 .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
?x1 ns:film.writer.film M1 .
?x1 ns:people.person.nationality ns:m.0d060g .
?x2 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M3
}