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