Was M0 a costume designer that M2 , M3 , and M4 were written by and were directed by
SELECT count(*) WHERE {
M0 a ns:film.film_costumer_designer .
M0 ns:film.director.film M2 .
M0 ns:film.director.film M3 .
M0 ns:film.director.film M4 .
M0 ns:film.writer.film M2 .
M0 ns:film.writer.film M3 .
M0 ns:film.writer.film M4
}