Was M2 directed by a costume designer and edited by a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 a ns:film.film_costumer_designer .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by ?x0
}