comefrom: <awangdev>Kth Smallest Element in a Sorted Matrix_1.java
code: private int countSmallerItem(int[][] matrix, int target) {
  
          int n = matrix.length;
          int count = 0;
          int i = 0, j = n - 1; 
          while (i < n && j >= 0) {
              if (matrix[i][j] > target) { 
                  j--;
              } else { 
                  count += j + 1;
                  i++;
              }
          }
          return count;
      }
masked: private int sample_funcname ( int [ ] [ ] var_0 , int var_1 ) {
    int var_2 = var_0 . length ;
    int var_3 = 0 ;
    int var_4 = 0 , var_5 = var_2 - 1 ;
    while ( var_4 < var_2 && var_5 >= 0 ) {
      if ( var_0 [ var_4 ] [ var_5 ] > var_1 ) {
        var_5 -- ;
      }
      else {
        var_3 += var_5 + 1 ;
        var_4 ++ ;
      }
    }
    return var_3 ;
  }
  