Was M2 executive produced by a actor , directed by a producer and executive producer of M1 , and edited by M3
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?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.edited_by M3 .
M2 ns:film.film.executive_produced_by ?x0
}