Did M3 , M4 , M5 , M6 , and M7 influence a film director that M1 was written by and M2 starred
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:film.writer.film M1 .
M3 ns:influence.influence_node.influenced ?x0 .
M4 ns:influence.influence_node.influenced ?x0 .
M5 ns:influence.influence_node.influenced ?x0 .
M6 ns:influence.influence_node.influenced ?x0 .
M7 ns:influence.influence_node.influenced ?x0
}