If you're using a recent Pd vanilla (0.49), you can do this easily using the built in [array] object. You can read more about it in the help browser: Pure Data/5.reference/array-object-help.pd
If I were tracking the play counts of 200 audio files, I would use [array define playcount 200] for storage of the stats, with each index representing a specific track. When a track is played, get the previous count at that index using [array get playcount], then add 1 to that total and use [array set playcount] to update the index. Finally, when you want to find the index with the greatest number of plays, use [array max playcount].
Things would get a little more complicated if you wanted a top 10 most played, etc., but totally doable either in vanilla or with externals.
UPDATE: @whale-av edited his reply to mention this too!