Word count. Implements #126