Was M2 directed by M3 and executive produced by a film producer whose spouse edited M1
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?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:film.editor.film M1 .
FILTER ( ?x0 != ?x1 ) .
M2 ns:film.film.directed_by M3 .
M2 ns:film.film.executive_produced_by ?x0
}