Was M3 produced by M4 and M5 and written by a Mexican French writer of M0
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.nationality ns:m.0b90_r .
?x0 ns:people.person.nationality ns:m.0f8l9c .
M3 ns:film.film.produced_by|ns:film.film.production_companies M4 .
M3 ns:film.film.produced_by|ns:film.film.production_companies M5 .
M3 ns:film.film.written_by ?x0
}