Were M2 , M6 , and M7 edited by a film editor that married M1 and executive produced by M3 , M4 , and M5
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?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 M1 .
FILTER ( ?x0 != M1 ) .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.executive_produced_by M3 .
M2 ns:film.film.executive_produced_by M4 .
M2 ns:film.film.executive_produced_by M5 .
M6 ns:film.film.edited_by ?x0 .
M6 ns:film.film.executive_produced_by M3 .
M6 ns:film.film.executive_produced_by M4 .
M6 ns:film.film.executive_produced_by M5 .
M7 ns:film.film.edited_by ?x0 .
M7 ns:film.film.executive_produced_by M3 .
M7 ns:film.film.executive_produced_by M4 .
M7 ns:film.film.executive_produced_by M5
}