Did a Spanish film director write M1 and M2 , executive produce a film , and executive produce M3
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:film.producer.films_executive_produced M3 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:people.person.nationality ns:m.06mkj .
?x1 a ns:film.film
}