Were M5 and M6 edited by a female Canadian screenwriter that directed M4 and edited M1
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.director.film M4 .
?x0 ns:film.editor.film M1 .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.0d060g .
M5 ns:film.film.edited_by ?x0 .
M6 ns:film.film.edited_by ?x0
}