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