use trial count for sample size