Implemented TouchLangData to keep count of the frequencies.