If you did it in a DB then you could count up in your query, very easy:
update table set field = (field + 1) where something = something;
Then just do a basic select to pull that number down for displaying on the page. Is that what you where looking for?
Hope this helps