Was M2 directed by M1 's actor , written by a art director , and directed by M3 and M4
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x1 ns:film.actor.film/ns:film.performance.character M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.directed_by M3 .
M2 ns:film.film.directed_by M4 .
M2 ns:film.film.written_by ?x0
}