Was M3 written by M1 's Spanish cinematographer , edited by M4 , and directed by a actor
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M1 .
?x0 ns:people.person.nationality ns:m.06mkj .
?x1 a ns:film.actor .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.edited_by M4 .
M3 ns:film.film.written_by ?x0
}