Were M2 , M3 , and M4 produced by and written by a art director that edited M1 's sequel
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:film.editor.film ?x1 .
?x1 ns:film.film.prequel M1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.written_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.written_by ?x0
}