A million photons would be overkill for a solid detection. A standard CCD saturates at about 65,000 counts (or about that many photons, assuming the efficiency is high). A source that is detected well enough to do interesting measurements usually has a ~1000 - 20,000 photons per pixel. Spread out over ~15 pixels, a good detection could require as few as ~15,000 photons.
In this particular application it would be more difficult since you not only have to detect the source on its own, you have to block out the glare from the parent star. Usually the main problem in this sort of work is making sure that the source you are detecting is actually a real thing and is not just an artifact from the way you block out the light from the parent star.