Were M2 and M4 distributed by M3 and produced by a actor whose child directed M1
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
?x1 ns:film.director.film M1 .
M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}