Did a female person influence a actor of M5 and influence M1 , M2 , and M3
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced M3 .
?x0 ns:people.person.gender ns:m.02zsn .
?x1 ns:film.actor.film/ns:film.performance.character M5
}