Was M3 produced by M1 's Chinese director , written by M4 and M5 , and directed by M2 's producer
SELECT count(*) WHERE {
?x0 ns:film.director.film M1 .
?x0 ns:people.person.nationality ns:m.0d05w3 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.written_by M4 .
M3 ns:film.film.written_by M5
}