protected function getCountersRecursive($objFields, $objCollection = null)
    {
        if (is_null($objCollection)) {
            $objCollection = new Collection();
        }

        foreach ($objFields as $objField) {
            if ($objField instanceof Element && $objField->isDynamicCounter()) {
                $objCollection->addObject($objField);
            }

            if ($objField->hasFields()) {
                $this->getCountersRecursive($objField->getFields(), $objCollection);
            }
        }

        return $objCollection;
    }