title: How to count the number of terms for each document in lucene index?
body: <p>I want to know the number of terms for each document in a lucene index. I've been searching in API and in internet with no result. Can you help me?</p>