Was a film 's sequel and prequel executive produced by M1 's parent
SELECT count(*) WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.prequel ?x2 .
?x0 ns:film.film.sequel ?x2 .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M1 .
?x2 a ns:film.film
}