Of course it has. Sure they recast it into different setting, but they’re remakes. Heck most of them even had to pay Kurosawa. If you gotta pay the original guy, it’s a remake.
That is not a remake. Using a film as inspiration is how many films get started, but no one has remade “Seven Samurai”.