'use strict'
const main = input => {
  const first = input[0].split(' ').map(val => parseInt(val, 10)), n = first[0], k = first[1], h = input[1].split(' ').map(val => parseInt(val, 10));
  // console.log(n, k, h);
  const ans = h.filter(number => number >= k);
  console.log(ans.length);
  
}
main(require("fs").readFileSync("/dev/stdin", "utf8").split('\n'));