Was M3 produced by a Canadian screenwriter that M1 starred and was executive produced by
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:people.person.nationality ns:m.0d060g .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}