average number of trials-Doc/view/code