Was M1 directed by and executive produced by a director of M0 's prequel
SELECT count(*) WHERE {
?x0 ns:film.director.film ?x1 .
?x1 ns:film.film.sequel M0 .
M1 ns:film.film.directed_by ?x0 .
M1 ns:film.film.executive_produced_by ?x0
}