function Main(input){
  var N = input.split('\n')[0].split(' ')[0];
  var K = input.split('\n')[0].split(' ')[1];

  N = parseInt(N,10);
  K = parseInt(K,10);

  var count = 0;

  var h = input.split('\n')[1].split(' ');
  for(i=0;i<N;i++){
    var a = parseInt(h[i],10);
    if(K <= h[i]){
      count++;
    }
  }

  console.log(count);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));