Were M2 , M5 , and M6 influenced by M3 and M4 , influenced by M0 's director , and influenced by a character
SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x1 a ns:fictional_universe.fictional_character .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1 .
M2 ns:influence.influence_node.influenced_by M3 .
M2 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 M3 .
M5 ns:influence.influence_node.influenced_by M4 .
M6 ns:influence.influence_node.influenced_by ?x0 .
M6 ns:influence.influence_node.influenced_by ?x1 .
M6 ns:influence.influence_node.influenced_by M3 .
M6 ns:influence.influence_node.influenced_by M4
}