Was M2 edited by M1 's costume designer , edited by M3 , and written by a art director of a film
SELECT count(*) WHERE {
?x0 ns:film.film_art_director.films_art_directed ?x1 .
?x1 a ns:film.film .
?x2 ns:film.film_costumer_designer.costume_design_for_film M1 .
M2 ns:film.film.edited_by ?x2 .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.written_by ?x0
}