Was M2 written by M0 's actor , produced by a art director , and edited by M3
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character M0 .
?x1 a ns:film.film_art_director .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M2 ns:film.film.written_by ?x0
}