Were M2 and M5 produced by M0 's Japanese founder , produced by M4 , and written by M3
SELECT count(*) WHERE {
?x0 ns:organization.organization_founder.organizations_founded M0 .
?x0 ns:people.person.nationality ns:m.03_3d .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M4 .
M2 ns:film.film.written_by M3 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies M4 .
M5 ns:film.film.written_by M3
}