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