Was a screenwriter that M2 and M3 were executive produced by and M4 and M5 starred M0
SELECT count(*) WHERE {
M0 a ns:film.writer .
M0 ns:film.actor.film/ns:film.performance.film M4 .
M0 ns:film.actor.film/ns:film.performance.film M5 .
M0 ns:film.producer.films_executive_produced M2 .
M0 ns:film.producer.films_executive_produced M3
}