Was M2 produced by a Mexican writer of M0
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.nationality ns:m.0b90_r .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}