Was M2 's parent a film director that M3 was directed by , M0 was written by , and M1 starred
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.director.film M3 .
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M2
}