40-50 LEDs

8 Pins give 256 combinations therefore it is possible using multiplexers to control up to 256 LEDs.
With a shift register you get to go to an unlimited number simply by cascading them. You can always increase the current capability of the shift register outputs by using transistors or Darlington arrays.