Was M5 produced by a male Chinese art director that wrote M1 and edited by M4 's director
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.nationality ns:m.0d05w3 .
?x1 ns:film.director.film M4 .
M5 ns:film.film.edited_by ?x1 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}