Did M0 's spouse marry M3 's female cinematographer and influence a person 's spouse
SELECT count(*) WHERE {
?x0 ns:influence.influence_node.influenced ?x1 .
?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 ?x2 .
?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 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 ?x3 .
?x2 ns:film.cinematographer.film M3 .
?x2 ns:people.person.gender ns:m.02zsn .
?x3 a ns:people.person .
FILTER ( ?x0 != ?x2 ) .
FILTER ( ?x0 != M0 ) .
FILTER ( ?x1 != ?x3 )
}