Add together each number in the group to obtain the total, or sum, of the numbers. If numbers are duplicated, include each occurrence in the sum.
Count how many numbers are in the group. If the same number occurs more than once, it should be counted more than once.
Calculate the mean by dividing the sum of the numbers in the group by the count of the numbers in the group.