Were M2 and M4 executive produced by a production company 's founder , produced by a screenwriter , and written by M3
SELECT count(*) WHERE {
?x0 ns:organization.organization_founder.organizations_founded ?x1 .
?x1 a ns:film.production_company .
?x2 a ns:film.writer .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
M2 ns:film.film.written_by M3 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
M4 ns:film.film.written_by M3
}