Were M2 and M3 produced by a company 's parent and child and distributed by a distributor of M0
SELECT count(*) WHERE {
?x0 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M0 .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x2 .
?x1 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x2 .
?x2 a ns:business.employer .
M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M3 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x1
}