Was a screenwriter that M5 , M6 , M7 , and M8 were directed by and M2 , M3 , and M4 starred 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.director.film M5 .
M0 ns:film.director.film M6 .
M0 ns:film.director.film M7 .
M0 ns:film.director.film M8
}