Were M1 and M5 founded by a film 's director , founded by M2 and M3 , and founded by M4
SELECT count(*) WHERE {
?x0 ns:film.director.film ?x1 .
?x1 a ns:film.film .
M1 ns:organization.organization.founders ?x0 .
M1 ns:organization.organization.founders M2 .
M1 ns:organization.organization.founders M3 .
M1 ns:organization.organization.founders M4 .
M5 ns:organization.organization.founders ?x0 .
M5 ns:organization.organization.founders M2 .
M5 ns:organization.organization.founders M3 .
M5 ns:organization.organization.founders M4
}