Did M2 and M3 influence M0 's producer and influence M1 's spouse and parent
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M1 .
?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M1 .
FILTER ( ?x1 != M1 ) .
M2 ns:influence.influence_node.influenced ?x0 .
M2 ns:influence.influence_node.influenced ?x1 .
M3 ns:influence.influence_node.influenced ?x0 .
M3 ns:influence.influence_node.influenced ?x1
}