Did a Spanish costume designer write M2 and M3 , direct M5 , and edit M1
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 ns:film.director.film M5 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3 .
?x0 ns:people.person.nationality ns:m.06mkj
}