Did M3 star a Canadian cinematographer that M1 was written , produced , and executive produced by
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.0d060g .
M3 ns:film.film.starring/ns:film.performance.actor ?x0
}