Were M2 and M4 founded by M0 's spouse , founded by a film director , and founded by M3
SELECT count(*) WHERE {
?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 M0 .
?x1 a ns:film.director .
FILTER ( ?x0 != M0 ) .
M2 ns:organization.organization.founders ?x0 .
M2 ns:organization.organization.founders ?x1 .
M2 ns:organization.organization.founders M3 .
M4 ns:organization.organization.founders ?x0 .
M4 ns:organization.organization.founders ?x1 .
M4 ns:organization.organization.founders M3
}