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