Was M0 a film that was edited by , starred , and was written by M2
SELECT count(*) WHERE {
M0 a ns:film.film .
M0 ns:film.film.edited_by M2 .
M0 ns:film.film.starring/ns:film.performance.actor M2 .
M0 ns:film.film.written_by M2
}