Was M2 produced by a costume designer that M1 starred , was edited by , and was directed by
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.director.film M1 .
?x0 ns:film.editor.film M1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}