This appears to increment over all time until they hit a lockout then will clear it once they get locked out and it times out. Unless I am missing something. Maybe we need to know when the counter was started so we know if we should reset it before starting to count?