Was M1 influenced by M2 and M3 , influenced by M4 , and influenced by a producer of M0 's sequel
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x1 ns:film.film.prequel 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
}