Were M2 and M6 produced by M1 's Japanese producer , distributed by M3 , and distributed by M4 and M5
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
?x0 ns:people.person.nationality ns:m.03_3d .
M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M4 .
M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M5 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M6 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M6 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M4 .
M6 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M5 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}