Was a film 's prequel and sequel produced by M2 , executive produced by M0 and M1 , and produced by M3
SELECT count(*) WHERE {
?x0 ns:film.film.executive_produced_by M0 .
?x0 ns:film.film.executive_produced_by M1 .
?x0 ns:film.film.prequel ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M2 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M3 .
?x0 ns:film.film.sequel ?x1 .
?x1 a ns:film.film
}