Was M0 a screenwriter that M5 and M6 were directed by and M2 , M3 , and M4 starred
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
}