Checking term frequency