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