Was M4 written by M5 , directed by a female Canadian film editor , and executive produced by M0 's producer
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x1 a ns:film.editor .
?x1 ns:people.person.gender ns:m.02zsn .
?x1 ns:people.person.nationality ns:m.0d060g .
M4 ns:film.film.directed_by ?x1 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.written_by M5
}