Was M2 edited by a Dutch cinematographer 's spouse and written by a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x1 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 .
?x2 a ns:film.cinematographer .
?x2 ns:people.person.nationality ns:m.059j2 .
FILTER ( ?x1 != ?x2 ) .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.written_by ?x0
}