Was a executive producer of a sequel and prequel of a film M1
SELECT count(*) WHERE {
?x0 ns:film.film.prequel ?x1 .
?x0 ns:film.film.sequel ?x1 .
?x1 a ns:film.film .
M1 ns:film.producer.films_executive_produced ?x0
}