Inverse Document Frequency working