def subtreeCount(self, doc, includeItems=True, user=None, level=None):
        count = 1
        folders = self.model('folder').find({
            'parentId': doc['_id'],
            'parentCollection': 'user'
        }, fields=('access',))

        if level is not None:
            folders = self.filterResultsByPermission(
                cursor=folders, user=user, level=level)

        count += sum(self.model('folder').subtreeCount(
            folder, includeItems=includeItems, user=user, level=level)
            for folder in folders)
        return count
Retrieves the base mount path of the volume. Typically equals to :func:`Disk.get_fs_path` but may also be the
dataset/ETHPy150Open girder/girder/girder/models/user.py/User.subtreeCount--crossover with--dataset/ETHPy150Open ralphje/imagemounter/imagemounter/volume.py/Volume.get_raw_path