calculation of selection length

it displays the length of the selected character string to the calculated screen.