Did M4 , M5 , and M6 star a screenwriter that M1 , M2 , and M3 influenced
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
M4 ns:film.film.starring/ns:film.performance.actor ?x0 .
M5 ns:film.film.starring/ns:film.performance.actor ?x0 .
M6 ns:film.film.starring/ns:film.performance.actor ?x0
}