Did M1 's art director , editor , and cinematographer write M3 's prequel , direct M2 , and write M0
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M1 .
?x0 ns:film.director.film M2 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.film_art_director.films_art_directed M1 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:film.writer.film M0 .
?x1 ns:film.film.sequel M3
}