Word statistics extraction, for Information Retrieval stuff