question: Was a film written and edited by a Swedish film director that produced M3
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.edited_by ?x1 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 a ns:film.director .
  ?x1 ns:film.producer.film|ns:film.production_company.films M3 .
  ?x1 ns:people.person.nationality ns:m.0d0vqn
  }