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