Was M1 influenced by M2 and M3 , influenced by M4 and M5 , and influenced by M0 's writer and executive producer
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.writer.film M0 .
M1 ns:influence.influence_node.influenced_by ?x0 .
M1 ns:influence.influence_node.influenced_by M2 .
M1 ns:influence.influence_node.influenced_by M3 .
M1 ns:influence.influence_node.influenced_by M4 .
M1 ns:influence.influence_node.influenced_by M5
}