Calling the Stormtrooper figures "animatronics" is a stretch. Only a small handful seem capable of movement at all, the rest are apparently static mannequins. And the ones that do move only perform 2 simple movements- a basic head turn and small wrist motion to raise/lower their guns slightly. Even the limited-motion figures in a lot of the classic Fantasyland dark rides have a far greater range of movement by comparison.
Horizons had far more actual animatronics than RotR. There were only about 3 static mannequins in the entire ride, the human characters in the "Easy Living" scene near the start were mostly stationary (though even the guy getting a shave had a small amount of motion on his arm). That said, the three robots (vacuuming, grooming and cooking) had a lot of motion of their own. Despite perhaps not counting as true "animatronics" themselves, they again move far more than the Stormtroopers. Even the cat twitched its tail slightly. Outside of this scene though, there were around 40 legitimate human and animal animatronics that had a large and varied range of motion.