It depends on the components, which pins they use and how they use them.
Some components use the 1-wire bus on gpio4. Several can be connected to just this single pin.
Other devices may us the I2C bus, PWM or just plain I/O connections.
It would help if you told us what you plan to use and how
