question: Did M3 star a Japanese film editor and star a screenwriter 's spouse
query: SELECT count(*) WHERE {
  ?x0 a ns:film.editor .
  ?x0 ns:people.person.nationality ns:m.03_3d .
  ?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x2 .
  ?x2 a ns:film.writer .
  FILTER ( ?x1 != ?x2 ) .
  M3 ns:film.film.starring/ns:film.performance.actor ?x0 .
  M3 ns:film.film.starring/ns:film.performance.actor ?x1
  }