Was a film that starred M1 , M2 , and M3 edited and written by a film director
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.starring/ns:film.performance.actor M1 .
?x0 ns:film.film.starring/ns:film.performance.actor M2 .
?x0 ns:film.film.starring/ns:film.performance.actor M3 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:film.director
}