Were M2 , M3 , and M4 influenced by a person and influenced by a male person
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 a ns:people.person .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1 .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by ?x1 .
M4 ns:influence.influence_node.influenced_by ?x0 .
M4 ns:influence.influence_node.influenced_by ?x1
}