add example about totalTermFreq