question: Was a Swedish cinematographer that M2 and M3 starred , were written by , and were directed by a screenwriter
query: SELECT count(*) WHERE {
  ?x0 a ns:film.cinematographer .
  ?x0 a ns:film.writer .
  ?x0 ns:film.actor.film/ns:film.performance.film M2 .
  ?x0 ns:film.actor.film/ns:film.performance.film M3 .
  ?x0 ns:film.director.film M2 .
  ?x0 ns:film.director.film M3 .
  ?x0 ns:film.writer.film M2 .
  ?x0 ns:film.writer.film M3 .
  ?x0 ns:people.person.nationality ns:m.0d0vqn
  }