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