Was a person whose Mexican spouse was influenced by a actor and was influenced by M0 and M1 M4
SELECT count(*) WHERE {
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M0 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:people.person.nationality ns:m.0b90_r .
?x1 a ns:film.actor .
FILTER ( M4 != ?x0 ) .
M4 a ns:people.person .
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 ?x0
}