add keyword parser

add keyword parser to count top keywords used 
we only want to show the top 20 or so keywords. this breaks if the index is larger then that number. i've renamed it and added a comment for clarity