I have a spare PC I occasionally use as a Minecraft server every 1-2 years, and I make custom modpacks for it. Last time it had around 130 mods if I recall corrrectly, still worked, but during the testing stage it would go higher than 130 and stop working so I'd have to cut the incompatible ones out.