output number of complete trials