code: def _count_teachers(votes):
      s = np.sum(votes, axis=1)
      num_teachers = int(max(s))
      if min(s) != num_teachers:
          raise ValueError(
              "Matrix of votes is malformed: the number of votes is not the same "
              "across rows."
          )
      return num_teachers
  
file_path: privacy/research/pate_2018/ICLR2018/smooth_sensitivity_table.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import os
  import sys
  from absl import app
  from absl import flags
  import numpy
  import core
  import smooth_sensitivity
label_desc: Use image node_id 5 for calling a global function with example usage: _count_teachers(votes) and returns: num_teachers