Was a star and editor of M1 and M2 a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2
}