Was M3 a film whose cinematographer was influenced by a Japanese person 's spouse and was influenced by M0
SELECT count(*) WHERE {
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M0 .
?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:people.person .
?x2 ns:people.person.nationality ns:m.03_3d .
FILTER ( ?x1 != ?x2 ) .
M3 a ns:film.film .
M3 ns:film.film.cinematography ?x0
}