Reset counter now works