Were M3 and M5 directed by a Japanese executive producer of M0 and M1 and edited by M4
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:people.person.nationality ns:m.03_3d .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.edited_by M4 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.edited_by M4
}