Was M2 directed by a screenwriter , directed by M1 's costume designer , edited by M4 , and written by M3
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 ns:film.film_costumer_designer.costume_design_for_film M1 .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by M4 .
M2 ns:film.film.written_by M3
}