I use Affinity Photo on windows and just kind of eyeball the stack, which I'm still trying to perfect.
It doesn't look quite right if I skimp and/or do not stop down enough.
The number of images required will depend on your DOF of course, so that varies.