Did a art director influence M1 and influence M2 's prequel 's writer
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x1 ns:film.writer.film ?x2 .
?x2 ns:film.film.sequel M2
}