Was M3 directed and produced by a Chinese screenwriter that M2 was played by
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.character M2 .
?x0 ns:people.person.nationality ns:m.0d05w3 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}