Was M2 directed and written by a female editor of M1
SELECT count(*) WHERE {
?x0 ns:film.editor.film M1 .
?x0 ns:people.person.gender ns:m.02zsn .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.written_by ?x0
}