Was M0 a Canadian screenwriter that executive produced and wrote M2
SELECT count(*) WHERE {
M0 a ns:film.writer .
M0 ns:film.producer.films_executive_produced M2 .
M0 ns:film.writer.film M2 .
M0 ns:people.person.nationality ns:m.0d060g
}