To focus stack, you need a minimum of two images. The maximum number depends on how shallow your depth of field is. The closer you are to your subject, the wider your aperture will be, and the longer your focal length, the more images you’ll need to shoot to have everything in focus.