'use strict'

const main = input => {
	const args = input.split('\n').map(arg => arg.split(' '))
	const N = parseInt(args[0][0], 10)
	const K = parseInt(args[0][1], 10)
	const h = args[1].map(arg => parseInt(arg, 10))
	let cnt = 0

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

	console.log(cnt)
}

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