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