Were M3 , M4 , and M5 written by a Swedish person influenced by a screenwriter
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:people.person.nationality ns:m.0d0vqn .
?x1 a ns:film.writer .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.written_by ?x0 .
M5 ns:film.film.written_by ?x0
}