Was a screenwriter that M2 , M3 , M4 , and M5 starred , were executive produced by , and were written by M0
SELECT count(*) WHERE {
M0 a ns:film.writer .
M0 ns:film.actor.film/ns:film.performance.film M2 .
M0 ns:film.actor.film/ns:film.performance.film M3 .
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 .
M0 ns:film.producer.films_executive_produced M4 .
M0 ns:film.producer.films_executive_produced M5 .
M0 ns:film.writer.film M2 .
M0 ns:film.writer.film M3 .
M0 ns:film.writer.film M4 .
M0 ns:film.writer.film M5
}