function main(input) {
    const args = input.split('\n')
    const kn = args[0].split(' ')
    const limit = parseInt(kn[1])
    const heights = args[1].split(' ').map( x => parseInt(x, 10))
    console.log(heights.filter( x => x >= limit).length);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));