Was a person that M2 was written by , was directed by , and starred M0
SELECT count(*) WHERE {
M0 a ns:people.person .
M0 ns:film.actor.film/ns:film.performance.film M2 .
M0 ns:film.director.film M2 .
M0 ns:film.writer.film M2
}