question: Was M2 produced by M3 , directed by M4 , directed by M5 , and produced by a Japanese screenwriter
query: SELECT count(*) WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:people.person.nationality ns:m.03_3d .
  M2 ns:film.film.directed_by M4 .
  M2 ns:film.film.directed_by M5 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies M3
  }