Were M2 and M5 produced by M3 and M4 and edited by a film 's Chinese writer
SELECT count(*) WHERE {
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.nationality ns:m.0d05w3 .
?x1 a ns:film.film .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M3 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M4 .
M5 ns:film.film.edited_by ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies M3 .
M5 ns:film.film.produced_by|ns:film.film.production_companies M4
}