Was M0 's prequel edited by a art director of M1 and M2
SELECT count(*) WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.sequel M0 .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x1 ns:film.film_art_director.films_art_directed M2
}