Was a film directed , written , and executive produced by a Mexican director of M2
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.director.film M2 .
?x1 ns:people.person.nationality ns:m.0b90_r
}