Did a art director edit a film whose director and editor produced , executive produced , and wrote M2
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:film.editor.film ?x1 .
?x1 a ns:film.film .
?x1 ns:film.film.directed_by ?x2 .
?x1 ns:film.film.edited_by ?x2 .
?x2 ns:film.producer.films_executive_produced M2 .
?x2 ns:film.producer.film|ns:film.production_company.films M2 .
?x2 ns:film.writer.film M2
}