Was M3 directed by a female founder of M1 and written by M0 's star
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x1 ns:organization.organization_founder.organizations_founded M1 .
?x1 ns:people.person.gender ns:m.02zsn .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.written_by ?x0
}