Did a film 's Japanese art director marry M1 and M2
SELECT count(*) WHERE {
?x0 ns:film.film_art_director.films_art_directed ?x1 .
?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 M1 .
?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 M2 .
?x1 a ns:film.film .
FILTER ( ?x0 != M1 ) .
FILTER ( ?x0 != M2 )
}