add compute sample size