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