const main = input => {
  const inputs = input.trim().split('\n')
  const [N, K] = inputs[0].split(' ').map(x => parseInt(x))
  const heights = inputs[1].split(' ').map(x => parseInt(x))

  let count = 0
  for (let i = 0; i < N; i++) {
    if (heights[i] >= K) {
      count++
    }
  }

  console.log(count)
}

// 標準入力
main(require("fs").readFileSync("/dev/stdin", "utf8"))
