Did a person 's British spouse marry M1 , influence M3 's writer , and marry M2
SELECT count(*) WHERE {
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:people.person.nationality ns:m.07ssc .
?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 ?x2 .
?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 M1 .
?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 M2 .
?x1 ns:film.writer.film M3 .
?x2 a ns:people.person .
FILTER ( ?x0 != ?x2 ) .
FILTER ( ?x0 != M1 ) .
FILTER ( ?x0 != M2 )
}