Were M2 and M3 edited by and written by a film 's Swedish cinematographer
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film ?x1 .
?x0 ns:people.person.nationality ns:m.0d0vqn .
?x1 a ns:film.film .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.written_by ?x0 .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.written_by ?x0
}