Counting Words Written in Org-Roam

A simple way to count the number of words written in org-roam notes is to use the following bash script.

cat *.org | wc -w

Assuming your note file names include a date prefix (mine is yyyy-mm-dd--{suffix}), you can count the number of words per year, month, or day using a * after the prefix.

cat 2021*.org | wc -w

See also: