question: Was a Spanish costume designer M1 's cinematographer and writer
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film_costumer_designer .
  ?x0 ns:film.cinematographer.film M1 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:people.person.nationality ns:m.06mkj
  }