Detail word-counting algorithm in README