Was a screenwriter whose employer employed M5 and was founded by M3 and M4 a British spouse of M2
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?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 M2 .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person M5 .
?x1 ns:organization.organization.founders M3 .
?x1 ns:organization.organization.founders M4 .
FILTER ( ?x0 != M2 )
}