Cloze Word Counter
An Anki addon that replaces […] with the number of words contained in the cloze deletion.
✨ What’s New in Version 1.1.0 New option: Choose between showing […] or [1] for single words Flexible configuration: Complete control over when and how to display the counter Better compatibility: Works perfectly with Anki 2.1.50+ 🚀 Features Automatically counts words in cloze deletions Replaces […] with [number] (e.g., [3] for three words) NEW: Option to keep […] for single words Works with all types of cloze cards Fully configurable 📋 How to Use Create Cloze deletion type cards In card templates, where […] normally appears, it will now show the word count Configure behavior through addon preferences
Examples:
{{c1::house}} → […] (if configured) or [1] {{c1::big house}} → [2] {{c1::very big house}} → [3] ⚙️ Configuration
Go to Tools → Add-ons → Cloze Word Counter → Config
Main options:
show_dots_for_single_word (NEW OPTION):
true: Single words appear as […] false: Single words appear as [1]
format: Customize counter format
”[{count}]” → [3] ”({count} words)” → (3 words) “{count}w” → 3w
show_on_question: Show counter on question side show_on_answer: Show counter on answer side enabled: Enable/disable addon
🔧 Configuration Example { “enabled”: true, “format”: ”[{count}]”, “show_on_question”: true, “show_on_answer”: true, “show_dots_for_single_word”: true }
📝 Changelog v1.1.0 ✅ Added option to keep […] for single words ✅ Improved addon configuration ✅ Bug fixes v1.0.0 ✅ Initial release ✅ Basic word counting in clozes ✅ Customizable settings 🎯 Compatibility Anki 2.1.50+ Tested on Anki 25.02.5 Works on Windows, Mac, and Linux 📞 Support
Issues or suggestions? Contact through GitHub or leave a comment on AnkiWeb.
Tip: For the best experience, set show_dots_for_single_word: true if you prefer to keep the traditional […] look for single words, or false if you want to always see numbers.
Reviews (2)
👍 2025-09-04
This is awesome; thank you for putting it together ♥ This might be silly/super annoying, but I was wondering if it’s possible to have a feature where a string repeats based on how many words/characters are inside the cloze – for example, if the repeating string was ”…”, {{c1::this}} would look like […], {{c2::whereas this}} would look like [… …]. (I have no idea if that made sense.)
👍 2025-06-17
I love this addon!! Just wondering if there’s a way for it to not display the number for clozes that have only 1 word?
{{c1::example}} shows […] instead of [1] whilst {{c1::test one}} shows [2]? Comment from author Thank you for the feedback! I’ll try to add this option and upload an update.