2. While computing mean of grouped data