Was M2 influenced by M0 's spouse and influenced by a film 's executive producer and editor
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 M0 .
?x1 ns:film.editor.film ?x2 .
?x1 ns:film.producer.films_executive_produced ?x2 .
?x2 a ns:film.film .
FILTER ( ?x0 != M0 ) .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1
}