Did M0 edit M1 , executive produce M4 , write M3 , and edit M2
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.writer.film M3
}