The Best Choice Problem for a Random Number of Objects