how pega knows to increment the case id's count

Suppose you created a case say ABC-1 then next case that you create will be shown as ABC-2 how does pega know to increment the case id’s ?

I am attaching a screenshot

@TanyaS58 please check the below reference for the clear explanation on case id generation. It explains about old and new mechanism.

https://support.pega.com/discussion/case-id-generation-mechanism

@Anoop Krishna Thanks