Did M2 star a screenwriter , star a film 's costume designer and writer , and star M3 and M4
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 ns:film.film_costumer_designer.costume_design_for_film ?x2 .
?x1 ns:film.writer.film ?x2 .
?x2 a ns:film.film .
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 .
M2 ns:film.film.starring/ns:film.performance.actor M4
}