question: Was M0 a Chinese female costume designer that M2 was written and produced by
query: SELECT count(*) WHERE {
  M0 a ns:film.film_costumer_designer .
  M0 ns:film.producer.film|ns:film.production_company.films M2 .
  M0 ns:film.writer.film M2 .
  M0 ns:people.person.gender ns:m.02zsn .
  M0 ns:people.person.nationality ns:m.0d05w3
  }