Did M3 marry a director of M1 and M2 , influence M4 , and influence a actor 's child
SELECT count(*) WHERE {
?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x1 .
?x1 a ns:film.actor .
?x2 ns:film.director.film M1 .
?x2 ns:film.director.film M2 .
FILTER ( M3 != ?x2 ) .
M3 ns:influence.influence_node.influenced ?x0 .
M3 ns:influence.influence_node.influenced M4 .
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 ?x2
}