Was M4 directed by a founder of M1 , M2 , and M3 and directed by a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 ns:organization.organization_founder.organizations_founded M1 .
?x1 ns:organization.organization_founder.organizations_founded M2 .
?x1 ns:organization.organization_founder.organizations_founded M3 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.directed_by ?x1
}