Was M4 written by a female French film editor that married M3 and executive produced by M5
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.0f8l9c .
?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 M3 .
FILTER ( ?x0 != M3 ) .
M4 ns:film.film.executive_produced_by M5 .
M4 ns:film.film.written_by ?x0
}