

def count(self):
    c = 0
    for entry in os.listdir(self.cache_dir):
        if entry.endswith('.lock'):
            continue
        c += 1
    return c

dataset/ETHPy150Open tweepy/tweepy/tweepy/cache.py FileCache.count/original