question: Was a star , editor , and cinematographer of M4 and M5 a Spanish writer and director of M0 , M1 , and M2
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.film M4 .
  ?x0 ns:film.actor.film/ns:film.performance.film M5 .
  ?x0 ns:film.cinematographer.film M4 .
  ?x0 ns:film.cinematographer.film M5 .
  ?x0 ns:film.director.film M0 .
  ?x0 ns:film.director.film M1 .
  ?x0 ns:film.director.film M2 .
  ?x0 ns:film.editor.film M4 .
  ?x0 ns:film.editor.film M5 .
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2 .
  ?x0 ns:people.person.nationality ns:m.06mkj
  }