And… You want that counter in a chart label, or, a counter inside of your watchlist?
Please be a little bit more specific as to what you are looking for.
In what manner do you foresee having a counter helping you?
A couple other questions, there is no citation or date at the top of this code, is that all of the code, and, did you create this yourself?
If it is copyright code it would not be ethical to make any changes to it without going to the author.