Were M2 and M4 produced by a company , edited by a executive producer and star of M1 , and directed by M3
SELECT count(*) WHERE {
?x0 a ns:business.employer .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
?x1 ns:film.producer.films_executive_produced M1 .
M2 ns:film.film.directed_by M3 .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.directed_by M3 .
M4 ns:film.film.edited_by ?x1 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}