Was M0 a Mexican actor that M2 was edited by , executive produced by , and written by
SELECT count(*) WHERE {
M0 a ns:film.actor .
M0 ns:film.editor.film M2 .
M0 ns:film.producer.films_executive_produced M2 .
M0 ns:film.writer.film M2 .
M0 ns:people.person.nationality ns:m.0b90_r
}