Were M2 and M3 executive produced by M0 's writer , producer , and executive producer and edited by a actor
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x0 ns:film.writer.film M0 .
?x1 a ns:film.actor .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.edited_by ?x1 .
M3 ns:film.film.executive_produced_by ?x0
}