Did M1 edit a film , executive produce M3 and M4 , and edit M2
SELECT count(*) WHERE {
?x0 a ns:film.film .
M1 ns:film.editor.film ?x0 .
M1 ns:film.editor.film M2 .
M1 ns:film.producer.films_executive_produced M3 .
M1 ns:film.producer.films_executive_produced M4
}