code: def reset_user_attempts(request: AxesHttpRequest, credentials: dict = None) -> int:
      
  
      attempts = filter_user_attempts(request, credentials)
  
      count, _ = attempts.delete()
      log.info('AXES: Reset %s access attempts from database.', count)
  
      return count
docs: Reset all user attempts that match the given request and credentials.