Was M2 directed by a editor , producer , and executive producer of M1 and produced by a production company
SELECT count(*) WHERE {
?x0 a ns:film.production_company .
?x1 ns:film.editor.film M1 .
?x1 ns:film.producer.films_executive_produced M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}