Was a director of a film whose star influenced M1 and M2 M3
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
?x1 ns:influence.influence_node.influenced M1 .
?x1 ns:influence.influence_node.influenced M2 .
M3 ns:film.director.film ?x0
}