Was M2 edited by a film 's Canadian executive producer and written by M3
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:people.person.nationality ns:m.0d060g .
?x1 a ns:film.film .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.written_by M3
}