<jupyter_start><jupyter_text><jupyter_code>weekdays = ['sun','mon','tue','wed','thu','fri','sun','mon','mon']
print(weekdays.count('mon'))
weekdays = ['sun','mon','tue','wed','thu','fri','sun','mon','mon']
print([[x,weekdays.count(x)] for x in set(weekdays)])<jupyter_output>3
[['wed', 1], ['fri', 1], ['sun', 2], ['thu', 1], ['tue', 1], ['mon', 3]]
{'fraction_non_alphanumeric': 0.3495702005730659, 'fraction_numerical': 0.02005730659025788, 'mean_word_length': 12.461538461538462, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '436569', 'license': 'Apache-2.0', 'n_tokens_mistral': 156, 'n_tokens_neox': 149, 'n_words': 22, 'path': 'count.ipynb', 'repo_name': 'AjeeshSMohan/it-cert-automation-practice', 'size': '349'}