Added inc-frequencies and find-num functions.