class_docstr: Handles preparing and sending data from the classifier function to Kinesis Firehose
docstr: Helper to log the failed Firehose records metric
  
  Args:
      count (int): Number of failed records
docstr_tok: ["Helper","to","log","the","failed","Firehose","records","metric","Args",":","count","(","int",")",":","Number","of","failed","records"]
code: def _log_failed(cls, count, function_name):
      """Helper to log the failed Firehose records metric
  
      Args:
          count (int): Number of failed records
      """
      MetricLogger.log_metric(
          function_name, MetricLogger.FIREHOSE_FAILED_RECORDS, count
      )
  
imports: from collections import defaultdict
  import json
  import hashlib
  import re
  import backoff
  import boto3
  from botocore.exceptions import ClientError, HTTPClientError
  from botocore.exceptions import ConnectionError
  from streamalert.shared import CLASSIFIER_FUNCTION_NAME
  import streamalert.shared.helpers.boto
  from streamalert.shared.logger import get_logger
  from streamalert.shared.metrics import MetricLogger
  from streamalert.shared.backoff_handlers import backoff_handler, giveup_handler, success_handler
label_desc: Use image node_id 9 for calling the FirehoseClient obj's underlying member method code with example usage: obj._log_failed(cls, count, function_name) without return types