Did a producer of a film whose art director directed , wrote , and edited M2 edit M0
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x1 a ns:film.film .
?x1 ns:film.film.film_art_direction_by ?x2 .
?x2 ns:film.director.film M2 .
?x2 ns:film.editor.film M2 .
?x2 ns:film.writer.film M2
}