Was M0 a Spanish actor that M3 was directed by and produced by
SELECT count(*) WHERE {
M0 a ns:film.actor .
M0 ns:film.director.film M3 .
M0 ns:film.producer.film|ns:film.production_company.films M3 .
M0 ns:people.person.nationality ns:m.06mkj
}