I want a java method which will take input as a string and return a string with char count, please help.