code: def _compute_frequency_histogram(
      col,
      backend: pipeline_backend.PipelineBackend,
      name: hist.HistogramType,
  ):
      """Computes histogram of element frequencies in collection.
  
      Args:
          col: collection with positive integers.
          backend: PipelineBackend to run operations on the collection.
          name: name which is assigned to the computed histogram.
      Returns:
          1 element collection which contains hist.Histogram.
      """
  
      col = backend.count_per_element(col, "Frequency of elements")
  
      # Combiner elements to histogram buckets of increasing sizes. Having buckets
      # of width = 1 is not scalable.
      return _compute_frequency_histogram_helper(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 3 for calling a global function with example usage: _compute_frequency_histogram(col, backend, name) and returns: _compute_frequency_histogram_helper