Was a prequel of a film written by , directed by , and produced by a writer of M1
SELECT count(*) WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.sequel ?x2 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.writer.film M1 .
?x2 a ns:film.film
}