code: def _num_fromflags(flaglist):
      num = 0
      for val in flaglist:
          num += _flagdict[val]
      return num
  
file_path: catboost/contrib/python/numpy/py2/numpy/ctypeslib.py
imports: from __future__ import division, absolute_import, print_function
  import os
  from numpy import integer, ndarray, dtype, deprecate, array, frombuffer
  from numpy.core.multiarray import _flagdict, flagsobj
label_desc: Use image node_id 1 for calling a global function with example usage: _num_fromflags(flaglist) and returns: num