$sum_counter = ['total_sum' => 0];
foreach ($few_itteartion as $itearator_key => $some_ar) {
if (!isset($sum_counter['sum_for_ittaration'][$itearator_key]))
$sum_counter['sum_for_ittaration'][$itearator_key] = 0;
foreach ($some_ar as $v) {
$sum_counter['total_sum'] += $v['sum'];
$sum_counter['sum_for_ittaration'][$itearator_key] += $v['sum'];
}
}