Were M4 and M7 founded by a female director of M1 , M2 , and M3 and founded by M5 and M6
SELECT count(*) WHERE {
?x0 ns:film.director.film M1 .
?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 .
M4 ns:organization.organization.founders M6 .
M7 ns:organization.organization.founders ?x0 .
M7 ns:organization.organization.founders M5 .
M7 ns:organization.organization.founders M6
}