Year by Year Statistics

January 01, 2013

With the turn of a new year I was curious how many postings I made in the past 12 months, and how many words I had written on my sites.

Counting the number of postings is simple, it's just the number of files in my _posts folder.

$ cd path/to/source/_posts
$ ls -l | grep 2012 | wc -l

Counting the number of words contained in those files with a 2012 in the name was a bit trickier, but a couple of searches and two Stack Overflow answers combined gave me this:

$ cd path/to/source/_posts
$ find . -name "*2012*" -maxdepth 1 -print0 | xargs -0 cat | wc -w

Armed with these two commands I decided it would be fun to see, year by year, the number of postings made and words written.

YearPostsWords
201218243,312
201121643,308
20103713,270
20098534,890
200822281,620
200721456,309
2006451116,573
200518058,483
200417558,739
200319865,927
20028879,284
2001219,344
2000105,110
199951,117

My Cello site is much younger, but here are the year by year statistics for it as well.

YearPostsWords
201219736,892
2011308,665
20106022,838
2009188,516

Combined, I've written 2,274 posts containing 693,865 words.

Author's profile picture

Mark H. Nichols

I am a husband, cellist, code prole, nerd, technologist, and all around good guy living and working in fly-over country. You should follow me on Twitter.