building keyword count map in a document