"use strict"

let arg_str = require('fs').readFileSync('/dev/stdin', 'UTF-8')
arg_str = arg_str.split('\n')
const arg_str_0 = arg_str[0].split(' ')
const N = arg_str_0[0]
const K = arg_str_0[1]
const Q = arg_str[1].split(' ')

const a = Q.filter(x=>+x>=+K)

console.log(a.length)