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