process.stdin.resume();
process.stdin.setEncoding('utf8');

var lines = [];
var reader = require('readline').createInterface({
    input: process.stdin,
    output: process.stdout
});
reader.on('line', (line) => {
    // ここで入力を処理する
    lines.push(line);
});
reader.on('close', () => {
    // ここで出力する
    var n, limit;
    lines[0].split(" ").map(x => Number(x)).forEach((x, index)=> {
      switch(index){
        case 0: n = x; break;
        case 1: limit = x; break;
      }
    });

  	var result = 0;
    lines[1].split(" ").map(x => Number(x)).forEach(x => {
      if(x >= limit) result++;
    });
    console.log(result);
    //for(var i =0; i<lines.length; i++){
    //  console.log(lines[i]);
    //}
});