When I’m climbing the same peak several time during an activity, how many ascent are counted ?

Only 1 ascent per peak per activity.

When I’m climbing the same peak several time during an activity, how many ascent are counted ?