code: def _compute_frequency_histogram_helper_with_lowers(
      col,
      backend: pipeline_backend.PipelineBackend,
      name: hist.HistogramType,
      lowers_col,
  ):
      """Computes histogram of element frequencies in collection.
  
      This is a helper function for _compute_linf_sum_contributions_histogram.
  
      Args:
          col: collection of (value:float, frequency_of_value: int)
          backend: PipelineBackend to run operations on the collection.
          name: name which is assigned to the computed histogram.
          lowers_col: collection of bin lowers of the histogram, necessary because
           we process float values, and they will be clipped to the nearest lower.
           The first element of lowers must be equal to the minimal element
           in the collection and the last element must be equal to the maximal
           element.
      Returns:
          1 element collection which contains hist.Histogram.
      """
  
      def _map_to_frequency_bin(
          value: float, lowers_container: List[List[float]]
      ) -> Tuple[float, hist.FrequencyBin]:
          # lowers_container is a list with one element that contains lowers list.
          lowers = lowers_container[0]
          bin_lower_idx = _bin_lower_index(lowers, value)
          bin_lower = lowers[bin_lower_idx]
          bin_upper = lowers[bin_lower_idx + 1]
          return bin_lower, hist.FrequencyBin(
              lower=bin_lower,
              upper=bin_upper,
              count=1,
              sum=value,
              max=value,
          )
  
      col = backend.map_with_side_inputs(
          col, _map_to_frequency_bin, (lowers_col,), "To FrequencyBin"
      )
      # (lower_bin_value, hist.FrequencyBin)
  
      return _convert_frequency_bins_into_histogram(col, backend, name)
  
imports: import bisect
  import operator
  from typing import List, Tuple
  import numpy
  import pipeline_dp
  from pipeline_dp import pipeline_backend, pipeline_functions
  from pipeline_dp.dataset_histograms import histograms
label_desc: Use image node_id 6 for calling a global function with example usage: _compute_frequency_histogram_helper_with_lowers(col, backend, name, lowers_col) and returns: _convert_frequency_bins_into_histogram, bin_lower,  hist