Was M0 's prequel written by M1 's employee and founder and directed by M2 's actor
SELECT count(*) WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.sequel M0 .
?x0 ns:film.film.written_by ?x2 .
?x1 ns:film.actor.film/ns:film.performance.character M2 .
?x2 ns:organization.organization_founder.organizations_founded M1 .
?x2 ns:people.person.employment_history/ns:business.employment_tenure.company M1
}