code: public int getActiveCount()
     {
        if (!enabled.get())
           return 0;
  
        if (createdCount.get() < destroyedCount.get())
           clear();
  
        return createdCount.get() - destroyedCount.get();
     }
docs: {@inheritDoc}