Did M2 star a costume designer and star a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x1 a ns:film.writer .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor ?x1
}