Were M3 and M6 founded by a male director of M1 and M2 and founded by M4 and M5
SELECT count(*) WHERE {
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2 .
?x0 ns:people.person.gender ns:m.05zppz .
M3 ns:organization.organization.founders ?x0 .
M3 ns:organization.organization.founders M4 .
M3 ns:organization.organization.founders M5 .
M6 ns:organization.organization.founders ?x0 .
M6 ns:organization.organization.founders M4 .
M6 ns:organization.organization.founders M5
}