Was a Spanish screenwriter that directed M3 a costume designer
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 a ns:film.writer .
?x0 ns:film.director.film M3 .
?x0 ns:people.person.nationality ns:m.06mkj
}