Were M4 and M5 written and directed by a Chinese person that M2 and M3 were produced by
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:film.producer.film|ns:film.production_company.films M3 .
?x0 ns:people.person.nationality ns:m.0d05w3 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.written_by ?x0 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.written_by ?x0
}