private int METHOD_1 ( java.lang.String str , char c ) { int counter = 0 ; for ( int i = 0 ; i <= ( str . length ( ) ) ; i ++ ) { if ( ( str . METHOD_2 ( i ) ) == c ) counter ++ ; } return counter ; }

private int METHOD_1 ( java.lang.String str , char c ) { int counter = 0 ; for ( int i = 0 ; i <= ( ( str . length ( ) ) - 1 ) ; i ++ ) { if ( ( str . METHOD_2 ( i ) ) == c ) counter ++ ; } return counter ; }
