Counts the number of Aplhabets and numbers in a submitted Java String