def countVoxels (p, h5):

  for k in h5.keys():
    if int(k) == p.annoid:
      idgrp = h5.get(k)
      if idgrp.get('VOXELS'):
        return len(idgrp['VOXELS'][:])
      elif idgrp.get('CUTOUT') and idgrp.get('XYZOFFSET'):
        return len(np.nonzero(np.array(idgrp['CUTOUT'][:,:,:]))[0])

  return 0
Obtain a list of backups.
dataset/ETHPy150Open neurodata/ndstore/test/ramon.py/countVoxels--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/datastore_admin/main.py/RouteByActionHandler.GetBackups