Were M2 and M4 executive produced by a costume designer , directed by M3 , and produced by M1 's distributor
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x1 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M1 .
M2 ns:film.film.directed_by M3 .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M4 ns:film.film.directed_by M3 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x1
}