Did M2 marry M3 , marry M1 's star and costume designer , and influence a person '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 a ns:people.person .
?x2 ns:film.actor.film/ns:film.performance.film M1 .
?x2 ns:film.film_costumer_designer.costume_design_for_film M1 .
FILTER ( ?x0 != ?x1 ) .
FILTER ( M2 != ?x2 ) .
FILTER ( M2 != M3 ) .
M2 ns:influence.influence_node.influenced ?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 .
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 M3
}