question: Were M4 and M5 directed by , edited by , and written by a Spanish cinematographer of M1 , M2 , and M3
query: SELECT count(*) WHERE {
  ?x0 ns:film.cinematographer.film M1 .
  ?x0 ns:film.cinematographer.film M2 .
  ?x0 ns:film.cinematographer.film M3 .
  ?x0 ns:people.person.nationality ns:m.06mkj .
  M4 ns:film.film.directed_by ?x0 .
  M4 ns:film.film.edited_by ?x0 .
  M4 ns:film.film.written_by ?x0 .
  M5 ns:film.film.directed_by ?x0 .
  M5 ns:film.film.edited_by ?x0 .
  M5 ns:film.film.written_by ?x0
  }