Was M4 influenced by a actor , influenced by a female writer of M1 and M2 , and influenced by M5
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x1 ns:film.writer.film M1 .
?x1 ns:film.writer.film M2 .
?x1 ns:people.person.gender ns:m.02zsn .
M4 ns:influence.influence_node.influenced_by ?x0 .
M4 ns:influence.influence_node.influenced_by ?x1 .
M4 ns:influence.influence_node.influenced_by M5
}