Did M2 's employee 's male spouse edit M1 's prequel 's prequel
SELECT count(*) WHERE {
?x0 ns:film.editor.film ?x1 .
?x0 ns:people.person.gender ns:m.05zppz .
?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 ?x2 .
?x1 ns:film.film.sequel ?x3 .
?x2 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
?x3 ns:film.film.sequel M1 .
FILTER ( ?x0 != ?x2 )
}