Was M2 executive produced by a female person and written by M3
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:people.person.gender ns:m.02zsn .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.written_by M3
}