A spider has 8 legs.

Most spiders you see will have all eight, but some individuals may appear to have 6 or 7 if they’ve lost legs to injury or predators.