Did M4 marry M5 , influence a female employee of M1 and M2 , and influence a character
SELECT count(*) WHERE {
?x0 a ns:fictional_universe.fictional_character .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
?x1 ns:people.person.gender ns:m.02zsn .
FILTER ( M4 != M5 ) .
M4 ns:influence.influence_node.influenced ?x0 .
M4 ns:influence.influence_node.influenced ?x1 .
M4 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M5
}