Add counter in progressbar