Was M2 influenced by M3 , influenced by M4 and M5 , and influenced by a male person 's actor
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
?x1 a ns:people.person .
?x1 ns:people.person.gender ns:m.05zppz .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by M3 .
M2 ns:influence.influence_node.influenced_by M4 .
M2 ns:influence.influence_node.influenced_by M5
}