Was M2 executive produced by M3 and M4 and written by M1 's sequel 's female editor
SELECT count(*) WHERE {
?x0 ns:film.editor.film ?x1 .
?x0 ns:people.person.gender ns:m.02zsn .
?x1 ns:film.film.prequel M1 .
M2 ns:film.film.executive_produced_by M3 .
M2 ns:film.film.executive_produced_by M4 .
M2 ns:film.film.written_by ?x0
}