Was M4 produced by a film director that M1 was influenced by , M2 was influenced by , and M3 influenced
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}