Did M1 marry a employee of a screenwriter 's country of nationality and marry M2
SELECT count(*) WHERE {
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x1 ^ns:people.person.nationality ?x2 .
?x2 a ns:film.writer .
FILTER ( M1 != ?x0 ) .
FILTER ( M1 != M2 ) .
M1 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 .
M1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M2
}