Was a spouse of M0 influenced by M1 's editor , influenced by a film editor , and influenced by M3 's star
SELECT count(*) WHERE {
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by ?x2 .
?x0 ns:influence.influence_node.influenced_by ?x3 .
?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:film.editor.film M1 .
?x2 a ns:film.editor .
?x3 ns:film.actor.film/ns:film.performance.film M3 .
FILTER ( ?x0 != M0 )
}