Was a star of M0 and M1 a male star and editor of M2
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?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 M2 .
?x0 ns:people.person.gender ns:m.05zppz
}