Was M3 a film whose editor married a person , influenced M0 , and married M1
SELECT count(*) WHERE {
?x0 ns:influence.influence_node.influenced M0 .
?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 .
?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 .
?x1 a ns:people.person .
FILTER ( ?x0 != ?x1 ) .
FILTER ( ?x0 != M1 ) .
M3 a ns:film.film .
M3 ns:film.film.edited_by ?x0
}