Did a Canadian person that wrote and executive produced M1 play M3 and play M4
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.actor.film/ns:film.performance.character M3 .
?x0 ns:film.actor.film/ns:film.performance.character M4 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.0d060g
}