Were M2 and M6 founded by M3 , M4 , and M5 and founded by a writer of M0 and M1
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
M2 ns:organization.organization.founders ?x0 .
M2 ns:organization.organization.founders M3 .
M2 ns:organization.organization.founders M4 .
M2 ns:organization.organization.founders M5 .
M6 ns:organization.organization.founders ?x0 .
M6 ns:organization.organization.founders M3 .
M6 ns:organization.organization.founders M4 .
M6 ns:organization.organization.founders M5
}