An algorithm for the robust estimation of the COVID-19 pandemic’s population by considering undetected individuals.