Were M3 and M4 edited and written by a Swedish film director that M1 was written by
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.0d0vqn .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.edited_by ?x0 .
M4 ns:film.film.written_by ?x0
}