question: Was a male Spanish cinematographer that M2 , M3 , and M4 were directed , written , and edited by M0
query: SELECT count(*) WHERE {
  M0 a ns:film.cinematographer .
  M0 ns:film.director.film M2 .
  M0 ns:film.director.film M3 .
  M0 ns:film.director.film M4 .
  M0 ns:film.editor.film M2 .
  M0 ns:film.editor.film M3 .
  M0 ns:film.editor.film M4 .
  M0 ns:film.writer.film M2 .
  M0 ns:film.writer.film M3 .
  M0 ns:film.writer.film M4 .
  M0 ns:people.person.gender ns:m.05zppz .
  M0 ns:people.person.nationality ns:m.06mkj
  }