public static int countLowerCase(final String text){
  int count=0;
  for (  final char chr : text.toCharArray()) {
    if (Character.isLowerCase(chr)) {
      count++;
    }
  }
  return count;
}

public static int countLowerCase ( final String text ) { int count = 0 ; for ( final char chr : text . toCharArray ( ) ) { if ( Character . isLowerCase ( chr ) ) { count ++ ; } } return count ; }
counts the number of lower case characters .
