Was M5 produced by M6 and directed by a Spanish cinematographer that M1 , M2 , and M3 were edited by
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.editor.film M3 .
?x0 ns:people.person.nationality ns:m.06mkj .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies M6
}