Was a film 's prequel directed and edited by M0 , M1 , and M2
SELECT count(*) WHERE {
?x0 ns:film.film.directed_by M0 .
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.directed_by M2 .
?x0 ns:film.film.edited_by M0 .
?x0 ns:film.film.edited_by M1 .
?x0 ns:film.film.edited_by M2 .
?x0 ns:film.film.sequel ?x1 .
?x1 a ns:film.film
}