Did M3 and M5 star M4 , star M0 's actor , and star M1 's Mexican writer
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character M0 .
?x1 ns:film.writer.film M1 .
?x1 ns:people.person.nationality ns:m.0b90_r .
M3 ns:film.film.starring/ns:film.performance.actor ?x0 .
M3 ns:film.film.starring/ns:film.performance.actor ?x1 .
M3 ns:film.film.starring/ns:film.performance.actor M4 .
M5 ns:film.film.starring/ns:film.performance.actor ?x0 .
M5 ns:film.film.starring/ns:film.performance.actor ?x1 .
M5 ns:film.film.starring/ns:film.performance.actor M4
}