Was M6 edited and produced by a film director that M1 , M2 , M3 , M4 , and M5 were influenced by
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 M3 .
?x0 ns:influence.influence_node.influenced M4 .
?x0 ns:influence.influence_node.influenced M5 .
M6 ns:film.film.edited_by ?x0 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}