Was M2 distributed by a person and produced by a costume designer
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x1 a ns:film.film_costumer_designer .
M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1
}