first pass at frecency score calculation