Did M2 influence M3 and M4 , marry a editor of M1 , and marry M0 's writer 's spouse
SELECT count(*) WHERE {
?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 .
?x1 ns:film.writer.film M0 .
?x2 ns:film.editor.film M1 .
FILTER ( ?x0 != ?x1 ) .
FILTER ( M2 != ?x0 ) .
FILTER ( M2 != ?x2 ) .
M2 ns:influence.influence_node.influenced M3 .
M2 ns:influence.influence_node.influenced M4 .
M2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0 .
M2 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
}