The secretary problem with an unknown number of candidates