examples/research_projects/mm-imdb/utils_mmimdb.py/JsonlDataset/get_label_frequencies
class JsonlDataset:    def get_label_frequencies(self):
        label_freqs = Counter()
        for row in self.data:
            label_freqs.update(row["label"])
        return label_freqs