A Google Docs Add-On to calculate the word and character count of all quizbowl questions in a Google Doc.
- Open the relevant Google Doc
- Go to Extensions -> Apps Script
- Copy wordcounter.gs and sidebar.html into the Apps Script workspace and save
- Rename the Apps Script project to "Wordcounter"
- Under Project Settings (the Gear icon on the left), uncheck "Enable Chrome V8 runtime"
- Refresh the doc, there should be an additional option under Extensions that says "Wordcounter". Click this
- Allow all the permissions
- Click the "Wordcounter" script under Extensions again, you should get a sidebar that pops out
- Click "Update" whenever you want a word/character count.
Automatically excludes:
- description acceptable/note to player or moderator prompts at the beginning of questions/bonus parts.
- pronunciation guides
- answerlines within bonuses
- [10] or [10e/m/h] at beginning of bonus parts
- weird formatting (e.g. double spaces after sentences).
- highlights in red things that are above a modifiable word/character count limit.
- if the doc contains subcategories formatted with Heading text, the outputted question list will reflect this; furthermore, you can expand/contract subcategories by clicking on anything in the subcategory.
- toggle viewing only questions that are too long or all questions.
- counts are displayed in a nice table (thanks to Eleanor Settle for the suggestion)
feel free to discord/message/github (?) me with feature requests!