Was a film producer that M2 , M3 , M4 , and M5 were written by and M6 , M7 , and M8 starred M0
SELECT count(*) WHERE {
M0 a ns:film.producer .
M0 ns:film.actor.film/ns:film.performance.film M6 .
M0 ns:film.actor.film/ns:film.performance.film M7 .
M0 ns:film.actor.film/ns:film.performance.film M8 .
M0 ns:film.writer.film M2 .
M0 ns:film.writer.film M3 .
M0 ns:film.writer.film M4 .
M0 ns:film.writer.film M5
}