question: Was M0 a Mexican person that M2 and M3 were produced by , were written by , and starred
query: SELECT count(*) WHERE {
  M0 a ns:people.person .
  M0 ns:film.actor.film/ns:film.performance.film M2 .
  M0 ns:film.actor.film/ns:film.performance.film M3 .
  M0 ns:film.producer.film|ns:film.production_company.films M2 .
  M0 ns:film.producer.film|ns:film.production_company.films M3 .
  M0 ns:film.writer.film M2 .
  M0 ns:film.writer.film M3 .
  M0 ns:people.person.nationality ns:m.0b90_r
  }