Was M2 a screenwriter that influenced M4 and was influenced by a Swedish producer of M1
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
?x0 ns:people.person.nationality ns:m.0d0vqn .
M2 a ns:film.writer .
M2 ns:influence.influence_node.influenced M4 .
M2 ns:influence.influence_node.influenced_by ?x0
}