Were M2 , M5 , and M6 influenced by M3 and M4 and influenced by a Mexican person 's spouse 's parent
SELECT count(*) WHERE {
?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
?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 ?x2 .
?x2 a ns:people.person .
?x2 ns:people.person.nationality ns:m.0b90_r .
FILTER ( ?x1 != ?x2 ) .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by M3 .
M2 ns:influence.influence_node.influenced_by M4 .
M5 ns:influence.influence_node.influenced_by ?x0 .
M5 ns:influence.influence_node.influenced_by M3 .
M5 ns:influence.influence_node.influenced_by M4 .
M6 ns:influence.influence_node.influenced_by ?x0 .
M6 ns:influence.influence_node.influenced_by M3 .
M6 ns:influence.influence_node.influenced_by M4
}