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