Was M1 a Mexican film director that produced a film
SELECT count(*) WHERE {
?x0 a ns:film.film .
M1 a ns:film.director .
M1 ns:film.producer.film|ns:film.production_company.films ?x0 .
M1 ns:people.person.nationality ns:m.0b90_r
}