Were M2 and M4 produced by a Mexican producer , writer , and editor of M0 and distributed by M3
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.nationality ns:m.0b90_r .
M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}