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