If a word is inputted, the total number of letters is outputted