Find Number Of Characters In A String Java