question: Was a actor of M1 and M2 a film producer 's Japanese spouse
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.character M1 .
  ?x0 ns:film.actor.film/ns:film.performance.character M2 .
  ?x0 ns:people.person.nationality ns:m.03_3d .
  ?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 .
  ?x1 a ns:film.producer .
  FILTER ( ?x0 != ?x1 )
  }