Was M0 a Spanish cinematographer that M3 was written by and M2 was edited by
SELECT count(*) WHERE {
M0 a ns:film.cinematographer .
M0 ns:film.editor.film M2 .
M0 ns:film.writer.film M3 .
M0 ns:people.person.nationality ns:m.06mkj
}