added document frequency storage
added idf statistics