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