'use strict';
function main(input) {
  const arr = input.trim().split('\n');
  const a = Number(arr[0].split(' ')[1]);
  const b = arr[1].split(' ').map(x => Number(x));
  let count = 0;

  for (let i = 0; i < b.length; i ++) {
    if (b[i] >= a) {
      count ++;
    }
  }
  
  console.log(count);
}

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