Was M1 a film whose prequel was directed by and starred a film producer
SELECT count(*) WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
?x1 a ns:film.producer .
M1 a ns:film.film .
M1 ns:film.film.prequel ?x0
}