Were M4 and M5 produced by a film editor influenced by M1 and influenced by M2 and M3
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}