Was M2 produced by M3 , directed by M4 , and written by a founder of M0 and M1
SELECT count(*) WHERE {
?x0 ns:organization.organization_founder.organizations_founded M0 .
?x0 ns:organization.organization_founder.organizations_founded M1 .
M2 ns:film.film.directed_by M4 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M3 .
M2 ns:film.film.written_by ?x0
}