Were M2 , M3 , M4 , and M5 written by and directed by a production company 's female founder 's employer 's founder
SELECT count(*) WHERE {
?x0 ns:organization.organization_founder.organizations_founded ?x1 .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person ?x2 .
?x2 ns:organization.organization_founder.organizations_founded ?x3 .
?x2 ns:people.person.gender ns:m.02zsn .
?x3 a ns:film.production_company .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.written_by ?x0 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.written_by ?x0 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.written_by ?x0
}