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

Only one ascent per peak per activity.

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