Was M3 edited by a costume designer of M1 and M2 and executive produced by M0 's producer
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x1 ns:film.film_costumer_designer.costume_design_for_film M1 .
?x1 ns:film.film_costumer_designer.costume_design_for_film M2 .
M3 ns:film.film.edited_by ?x1 .
M3 ns:film.film.executive_produced_by ?x0
}