Was M2 directed by a art director and directed by M0 's director and costume designer
SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
?x1 a ns:film.film_art_director .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.directed_by ?x1
}