Did M0 produce M2 , direct M3 , and executive produce M1
SELECT count(*) WHERE {
M0 ns:film.director.film M3 .
M0 ns:film.producer.films_executive_produced M1 .
M0 ns:film.producer.film|ns:film.production_company.films M2
}