Was M4 edited by and written by a screenwriter that founded M1 and M2 and founded a film distributor
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:organization.organization_founder.organizations_founded ?x1 .
?x0 ns:organization.organization_founder.organizations_founded M1 .
?x0 ns:organization.organization_founder.organizations_founded M2 .
?x1 a ns:film.film_distributor .
M4 ns:film.film.edited_by ?x0 .
M4 ns:film.film.written_by ?x0
}