refactoring: _getEntry and _getEntriesCount are now public methods