Was a screenwriter that influenced M3 , M4 , and M5 and was influenced by a writer and director of M0 M1
SELECT count(*) WHERE {
?x0 ns:film.director.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 M4 .
M1 ns:influence.influence_node.influenced M5 .
M1 ns:influence.influence_node.influenced_by ?x0
}