Did M1 and M5 influence M2 , M3 , and M4 and influence a character
SELECT count(*) WHERE {
?x0 a ns:fictional_universe.fictional_character .
M1 ns:influence.influence_node.influenced ?x0 .
M1 ns:influence.influence_node.influenced M2 .
M1 ns:influence.influence_node.influenced M3 .
M1 ns:influence.influence_node.influenced M4 .
M5 ns:influence.influence_node.influenced ?x0 .
M5 ns:influence.influence_node.influenced M2 .
M5 ns:influence.influence_node.influenced M3 .
M5 ns:influence.influence_node.influenced M4
}