query term frequency

something slightly buggy with the display. checks the freq of all the
terms in the query for each table.