Całkowita suma

$sum = 0;
foreach($group as $key=>$value)
{
   $sum+= $value;
}
echo $sum;
7uc1f3r