Photon count estimation in single-molecule localization microscopy