Did M1 star a film 's editor and writer
SELECT count(*) WHERE {
?x0 ns:film.editor.film ?x1 .
?x0 ns:film.writer.film ?x1 .
?x1 a ns:film.film .
M1 ns:film.film.starring/ns:film.performance.actor ?x0
}