Music file counter

I have an audio player with playlist. Do you know any plugin where I could see how many times each song is played? Player itself does not have a counter.
Or I need a player where is a playlist, counter and song categories, so that I could sort the songs according each category.