question: Was a gender of M1 's Japanese actor M2
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.character M1 .
  ?x0 ns:people.person.nationality ns:m.03_3d .
  M2 ^ns:people.person.gender ?x0
  }