Were M3 and M5 written by M4 , edited by a costume designer , and written by M0 's Chinese writer
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.nationality ns:m.0d05w3 .
?x1 a ns:film.film_costumer_designer .
M3 ns:film.film.edited_by ?x1 .
M3 ns:film.film.written_by ?x0 .
M3 ns:film.film.written_by M4 .
M5 ns:film.film.edited_by ?x1 .
M5 ns:film.film.written_by ?x0 .
M5 ns:film.film.written_by M4
}