Added total terms counter, comments.