expose Count and Length from sampler.