If the formula [tex]\(\bar{x}=\frac{1}{n} \sum_{i=1}^n x_i\)[/tex] is used to find the mean of the following sample, what is the value of [tex]\(n\)[/tex]?

Sample: 2, 63, 88, 10, 72, 99

A. 7
B. 8
C. 6
D. 5