Was M0 a person that M2 was produced , edited , and written by
SELECT count(*) WHERE {
M0 a ns:people.person .
M0 ns:film.editor.film M2 .
M0 ns:film.producer.film|ns:film.production_company.films M2 .
M0 ns:film.writer.film M2
}