Was M3 influenced by a film director that wrote M2 and influenced by M0 's director , editor , and star
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:film.director.film M0 .
?x0 ns:film.editor.film M0 .
?x1 a ns:film.director .
?x1 ns:film.writer.film M2 .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by ?x1
}