Was M6 written by a film director that founded M1 and founded M2 , M3 , M4 , and M5
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:organization.organization_founder.organizations_founded M1 .
?x0 ns:organization.organization_founder.organizations_founded M2 .
?x0 ns:organization.organization_founder.organizations_founded M3 .
?x0 ns:organization.organization_founder.organizations_founded M4 .
?x0 ns:organization.organization_founder.organizations_founded M5 .
M6 ns:film.film.written_by ?x0
}