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