Was M3 edited by a art director of M0 , M1 , and M2 and directed by M4 and M5
SELECT count(*) WHERE {
?x0 ns:film.film_art_director.films_art_directed M0 .
?x0 ns:film.film_art_director.films_art_directed M1 .
?x0 ns:film.film_art_director.films_art_directed M2 .
M3 ns:film.film.directed_by M4 .
M3 ns:film.film.directed_by M5 .
M3 ns:film.film.edited_by ?x0
}