Was a person that wrote , executive produced , produced , and directed M2 M0
SELECT count(*) WHERE {
M0 a ns:people.person .
M0 ns:film.director.film M2 .
M0 ns:film.producer.films_executive_produced M2 .
M0 ns:film.producer.film|ns:film.production_company.films M2 .
M0 ns:film.writer.film M2
}