Were M2 and M6 edited by M3 , M4 , and M5 and produced by a film distributor 's male founder 's spouse
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 ?x1 .
?x1 ns:organization.organization_founder.organizations_founded ?x2 .
?x1 ns:people.person.gender ns:m.05zppz .
?x2 a ns:film.film_distributor .
FILTER ( ?x0 != ?x1 ) .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.edited_by M4 .
M2 ns:film.film.edited_by M5 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M6 ns:film.film.edited_by M3 .
M6 ns:film.film.edited_by M4 .
M6 ns:film.film.edited_by M5 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}