KWCounts function

Generate keyword counts