In total, there are 10 legs. Two legs near the head are the claws, which are used for both defense and capturing prey, and the remaining eight legs are primarily dedicated to walking.