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