Were M4 and M5 directed , produced , and written by a film producer that M1 , M2 , and M3 were founded by
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:organization.organization_founder.organizations_founded M1 .
?x0 ns:organization.organization_founder.organizations_founded M2 .
?x0 ns:organization.organization_founder.organizations_founded M3 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.written_by ?x0 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.written_by ?x0
}