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