Did M3 star M0 's Swedish writer , star a cinematographer , and star M4
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.nationality ns:m.0d0vqn .
?x1 a ns:film.cinematographer .
M3 ns:film.film.starring/ns:film.performance.actor ?x0 .
M3 ns:film.film.starring/ns:film.performance.actor ?x1 .
M3 ns:film.film.starring/ns:film.performance.actor M4
}