Was a film whose star produced , executive produced , and wrote M0 M1
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x0 ns:film.writer.film M0 .
M1 a ns:film.film .
M1 ns:film.film.starring/ns:film.performance.actor ?x0
}