Millipede - they live in mulch, leaf litter, even grass thatch. Primarily eat decaying vegetative matter. They need damp areas. Do what you can to remove nearby mulch, grass piles, leaves, any decomposing vegetation, and keep the area dry, or at least not damp all the time.
Increase in numbers may be seasonal - with more in a wet spring, and few in a hot/dry summer.
Completely harmless.
Next up, likely will be earthworms in the pool after every rain......