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