added sample-count-argument