Was M3 directed by a film 's Spanish producer and edited by a film producer
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 ns:film.producer.film|ns:film.production_company.films ?x2 .
?x1 ns:people.person.nationality ns:m.06mkj .
?x2 a ns:film.film .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.edited_by ?x0
}