Did a production company 's founder 's spouse 's spouse edit M0 and M1
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.editor.film 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 ?x1 .
?x1 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 .
?x2 ns:organization.organization_founder.organizations_founded ?x3 .
?x3 a ns:film.production_company .
FILTER ( ?x0 != ?x1 ) .
FILTER ( ?x1 != ?x2 )
}