question: Was M0 a Spanish cinematographer that M2 was executive produced by and directed by
query: SELECT count(*) WHERE {
  M0 a ns:film.cinematographer .
  M0 ns:film.director.film M2 .
  M0 ns:film.producer.films_executive_produced M2 .
  M0 ns:people.person.nationality ns:m.06mkj
  }