Added len to pin collector, to support random.choice