def size(self):
    if os.path.isdir(self.path):
      return len(os.listdir(self.path))
    return 1
Number of items for the given path
dataset/ETHPy150Open bloomreach/briefly/src/briefly/fs.py/LocalFileSystem.size