finish a simple counter