Was M1 a film that was produced by M4 , was distributed by M3 , and was produced by a costume designer
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
M1 a ns:film.film .
M1 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M1 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M1 ns:film.film.produced_by|ns:film.film.production_companies M4
}