Bar Counting Script Anyone?

 
Does anyone know where I can get a bar counting script that will put a label under each bar of the session with the # of that bar? starting at the open with 1 and going to the end of the session? Just a very simple 1,2,3,4 ... etc till end of the day labeling. I've tried searching but can't find this anywhere. Thank you.
Reason: