Was M0 a actor that M2 was directed by , executive produced by , edited by , and written by
SELECT count(*) WHERE {
M0 a ns:film.actor .
M0 ns:film.director.film M2 .
M0 ns:film.editor.film M2 .
M0 ns:film.producer.films_executive_produced M2 .
M0 ns:film.writer.film M2
}