code: def slow_labeled_size(labeled):
      return np.array(
          [np.sum(labeled == i) for i in range(labeled.max() + 1)]
      )
  
imports: import numpy
  import mahotas
  import mahotas.labeled
  from pytest import raises
label_desc: Use image node_id 11 for calling a global function with example usage: slow_labeled_size(labeled) and returns: np