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