Were M4 and M6 founded by a female person that directed M2 and M3 and founded by M5
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.director.film M2 .
?x0 ns:film.director.film M3 .
?x0 ns:people.person.gender ns:m.02zsn .
M4 ns:organization.organization.founders ?x0 .
M4 ns:organization.organization.founders M5 .
M6 ns:organization.organization.founders ?x0 .
M6 ns:organization.organization.founders M5
}