public function syncCounters($ids) {
        foreach ($this->getCounters() as $alias => $counter) {
            $relation = $this->getModel()->getRelation($alias);

            switch ($relation->getType()) {
                case Relation::MANY_TO_MANY:
                    $this->_syncManyToMany($relation, $ids, $counter);
                break;
                case Relation::MANY_TO_ONE:
                    $this->_syncManyToOne($relation, $ids, $counter);
                break;
            }
        }

        // Reset cache for this sync
        $this->flushCache();

        return $this;
    }