question: Were M2 and M5 distributed by M3 , produced by a Japanese actor , and produced by M4
query: SELECT count(*) WHERE {
  ?x0 a ns:film.actor .
  ?x0 ns:people.person.nationality ns:m.03_3d .
  M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies M4 .
  M5 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
  M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
  M5 ns:film.film.produced_by|ns:film.film.production_companies M4
  }