[python] How to count the number of letters in a string without the spaces?