Was M2 written by a director and executive producer of M0 , directed by a film distributor 's founder , and written by M3
SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x0 ns:film.producer.films_executive_produced M0 .
?x1 ns:organization.organization_founder.organizations_founded ?x2 .
?x2 a ns:film.film_distributor .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.written_by ?x0 .
M2 ns:film.film.written_by M3
}