Was M4 directed by a female Chinese film director that M2 was produced by
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.0d05w3 .
M4 ns:film.film.directed_by ?x0
}