Was a Japanese writer of M0 and M1 influenced by M5 's British producer and influenced by M2
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:people.person.nationality ns:m.03_3d .
?x1 ns:film.producer.film|ns:film.production_company.films M5 .
?x1 ns:people.person.nationality ns:m.07ssc
}