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