Did a British person whose spouse influenced M3 and M4 write and direct M1
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.director.film M1 .
?x0 ns:film.writer.film M1 .
?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 ?x1 .
?x1 ns:influence.influence_node.influenced M3 .
?x1 ns:influence.influence_node.influenced M4 .
FILTER ( ?x0 != ?x1 )
}