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