Did M3 marry M4 , influence M1 's female actor , and influence a spouse of M0
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.actor.film/ns:film.performance.character M1 .
?x1 ns:people.person.gender ns:m.02zsn .
FILTER ( ?x0 != M0 ) .
FILTER ( M3 != M4 ) .
M3 ns:influence.influence_node.influenced ?x0 .
M3 ns:influence.influence_node.influenced ?x1 .
M3 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M4
}