Was a film produced by a screenwriter , written by M1 and M2 , and edited by M4 's art director
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
?x0 ns:film.film.written_by M1 .
?x0 ns:film.film.written_by M2 .
?x1 ns:film.film_art_director.films_art_directed M4 .
?x2 a ns:film.writer
}