Was a Swedish screenwriter that M3 starred a film director
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:people.person.nationality ns:m.0d0vqn
}