Were M3 , M4 , and M5 executive produced by M1 's female cinematographer and written by M2 's parent
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M1 .
?x0 ns:people.person.gender ns:m.02zsn .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M2 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.written_by ?x1 .
M5 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.written_by ?x1
}