Was a costume designer that M2 starred , was edited by , and was written by M0
SELECT count(*) WHERE {
M0 a ns:film.film_costumer_designer .
M0 ns:film.actor.film/ns:film.performance.film M2 .
M0 ns:film.editor.film M2 .
M0 ns:film.writer.film M2
}