Did M5 influence a Italian screenwriter 's female spouse and marry a male spouse of M4
SELECT count(*) WHERE {
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 .
?x1 a ns:film.writer .
?x1 ns:people.person.nationality ns:m.03rjj .
?x2 ns:people.person.gender ns:m.05zppz .
?x2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M4 .
FILTER ( ?x0 != ?x1 ) .
FILTER ( ?x2 != M4 ) .
FILTER ( M5 != ?x2 ) .
M5 ns:influence.influence_node.influenced ?x0 .
M5 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
}