Was M2 directed by a costume designer , written by M0 's executive producer , edited by M4 , and produced by M3
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x1 a ns:film.film_costumer_designer .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by M4 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M3 .
M2 ns:film.film.written_by ?x0
}