Was a screenwriter that M3 was influenced by and M0 's writer and star influenced M1
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:film.writer.film M0 .
M1 a ns:film.writer .
M1 ns:influence.influence_node.influenced M3 .
M1 ns:influence.influence_node.influenced_by ?x0
}