add keyword parser

add keyword parser to count top keywords used 
Why is this variable declared in the object's namespace ? It doesn't seem to be used anywhere else but this function. It should be a local variable.