Were M4 and M5 directed by a cinematographer that was influenced by M3 's female editor and married M1
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?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 .
?x1 ns:film.editor.film M3 .
?x1 ns:people.person.gender ns:m.02zsn .
FILTER ( ?x0 != M1 ) .
M4 ns:film.film.directed_by ?x0 .
M5 ns:film.film.directed_by ?x0
}