I've read in several questions like this onelike this one that stacking photos helps to reduce the noise of the resulting image, which is really helpful in astrophotography.
My question is if I can know a priori how many photos do I have to take to get an stacked image with X-ISO (Let's say 100). Of which factors does this noise reduction depends on?