Did M2 star M0 's costume designer , star a cinematographer , and star M3
SELECT count(*) WHERE {
?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
?x1 a ns:film.cinematographer .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor ?x1 .
M2 ns:film.film.starring/ns:film.performance.actor M3
}