Was M2 written by a screenwriter , edited by M3 , and edited by a writer , art director , and director of M1
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 ns:film.director.film M1 .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x1 ns:film.writer.film M1 .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.written_by ?x0
}