Was M1 influenced by M2 and influenced by M0 's sequel 's director and writer
SELECT count(*) WHERE {
?x0 ns:film.director.film ?x1 .
?x0 ns:film.writer.film ?x1 .
?x1 ns:film.film.prequel M0 .
M1 ns:influence.influence_node.influenced_by ?x0 .
M1 ns:influence.influence_node.influenced_by M2
}