Was M1 a film whose prequel was directed by and executive produced by M0
SELECT count(*) WHERE {
?x0 ns:film.film.directed_by M0 .
?x0 ns:film.film.executive_produced_by M0 .
M1 a ns:film.film .
M1 ns:film.film.prequel ?x0
}