Was M5 edited by , written by , and directed by a female film director that M1 , M2 , and M3 influenced
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x0 ns:people.person.gender ns:m.02zsn .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.edited_by ?x0 .
M5 ns:film.film.written_by ?x0
}