word frequency in a document- sample