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