question: Was M3 edited by M4 and written by a male Spanish screenwriter
query: SELECT count(*) WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:people.person.gender ns:m.05zppz .
  ?x0 ns:people.person.nationality ns:m.06mkj .
  M3 ns:film.film.edited_by M4 .
  M3 ns:film.film.written_by ?x0
  }