Repeating only a specific condition during a loop

Had a look at your code, im not being funny but you seem confused.

 void loop() {
     
for (k=0;k<counter;k++){

pwm_count= pwm_count_old[k];
analogWrite(pwm_pin,pwm_count);}
// Repeat for 60 points before it moves onto the next function
for {count=0;counter;count++){
scaling= Output/10 ; 
pwm_new=scaling* (pwm_default[count]);

analogWrite(pwm_pin,pwm_default); }

delay (2000); // delay after each pwm value

if count>60; 
delay(10000);
}
 }
}

heres how to perform your first loop

int pwm_pin = 3;  // pwm output pin or whichever pin you choose
void setup()
{
}

void loop()
{
  for (int pwm_count=0; pwm_count<60; pwm_count++) // Repeat for 60 values
    {
      analogWrite(pwm_pin,pwm_count);
    }
}

if you only want perform an action 3 times just create a new for loop with a value of 3
what is it exactly you wish to do?
you reference scaling / 10, i am not sure what your doing, to break the value of 60 in to 6 steps do this

for (int pwm_count=0; pwm_count<60; pwm_count+=10)