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