create counter

work