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