I understand the ask now, but its a pain to explain and a pain to implement.
In the past when I have asked clients why they want this, there is no good reason other than "we have always done it this way" and I try to push back as that is not a good enough reason.
The method (which i do not recommend involved summary fields for the highest count so far and then a lookup of that back down to the detail record and then freezing that lookup in a snapshot field.
If you really do want to implement this and no one else takes the time to explain the detailed step by step process or to locate the previous posting on this forum for a similar question, then you can control me for one on one consulting assistance.