code: def get_login_failed_count(name):
      '''
      Get the the number of failed login attempts
  
      :param str name: The username of the account
  
      :return: The number of failed login attempts
      :rtype: int
  
      :raises: CommandExecutionError on user not found or any other unknown error
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' shadow.get_login_failed_count admin
      '''
      ret = _get_account_policy_data_value(name, 'failedLoginCount')
  
      return salt.utils.mac_utils.parse_return(retf get_login_failed_count(name):
      '''
      Get the the number of failed login attempts
  
      :param str name: The username of the account
  
      :return: The number of failed login attempts
      :rtype: int
  
      :raises: CommandExecutionError on user not found or any other unknown error
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' shadow.get_login_failed_count admin
      '''
      ret = _get_account_policy_data_value(name, 'failedLoginCount')
  
      return salt.utils.mac_utils.parse_return(ret)
docs: Get the the number of failed login attempts
  
      :param str name: The username of the account
  
      :return: The number of failed login attempts
      :rtype: int
  
      :raises: CommandExecutionError on user not found or any other unknown error
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' shadow.get_login_failed_count admin