You could manually iterate over the characters with charAt() and then test Character.isLetter on each one, incrementing a count if true.
Or you could use regex's \p{Alpha}.
The first one is probably faster (but probably not signifiantly so in most contexts), and simpler if you don't know regex.
The second one leads to more compact code, and is more readable if you do know regex.