Was M2 directed by M1 's female director , written by M3 and M4 , and written by M5
SELECT count(*) WHERE {
?x0 ns:film.director.film M1 .
?x0 ns:people.person.gender ns:m.02zsn .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.written_by M3 .
M2 ns:film.film.written_by M4 .
M2 ns:film.film.written_by M5
}