How do you calculate the length of an SMS?