code: def _get_integer_counts(nums):
      """Turn a list of integers into a list of counts of those integers.
  
      Args:
        nums: a list of numbers (e.g. [1,2,2,4])
  
      Returns:
        a list of [num, count] (e.g. [[1,1],[2,2],[4,1]]) for all integers with
        non-zero counts
      """
      bin_counts = np.bincount(nums)
      non_zero_counts = [
          [i, x] for i, x in enumerate(bin_counts) if x > 0
      ]
      return non_zero_counts
  
imports: import collections
  import itertools
  import math
  import numpy
  from third_party.nucleus.util import variant_utils
  from third_party.nucleus.util import variantcall_utils
  from deepvariant import vcf_stats_vis
label_desc: Use image node_id 13 for calling a global function with example usage: _get_integer_counts(nums) and returns: non_zero_counts