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