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