Did M2 star a film 's costume designer , writer , and producer and star a art director
SELECT count(*) WHERE {
?x0 ns:film.film_costumer_designer.costume_design_for_film ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x0 ns:film.writer.film ?x1 .
?x1 a ns:film.film .
?x2 a ns:film.film_art_director .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor ?x2
}