question: Did a Japanese female screenwriter that M3 and M4 starred write M1
query: SELECT count(*) WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:film.actor.film/ns:film.performance.film M3 .
  ?x0 ns:film.actor.film/ns:film.performance.film M4 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:people.person.gender ns:m.02zsn .
  ?x0 ns:people.person.nationality ns:m.03_3d
  }