Was M2 produced by M4 and M5 , produced by a female parent of a art director , and written by M3
SELECT count(*) WHERE {
?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
?x0 ns:people.person.gender ns:m.02zsn .
?x1 a ns:film.film_art_director .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M4 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M5 .
M2 ns:film.film.written_by M3
}