Was M2 produced by a costume designer and produced by a actor
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x1 a ns:film.actor .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1
}