Simple app to count the length of a SMS message using different encodings