update doc string for default max-sample-count
make max-sample-count var private