Were M4 and M6 produced by a film editor that M1 , M2 , and M3 were influenced by and distributed by M5
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced M3 .
M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M5 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M6 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M5 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}