Was M0 a Spanish costume designer that wrote M2 , M3 , and M4
SELECT count(*) WHERE {
M0 a ns:film.film_costumer_designer .
M0 ns:film.writer.film M2 .
M0 ns:film.writer.film M3 .
M0 ns:film.writer.film M4 .
M0 ns:people.person.nationality ns:m.06mkj
}