function Main(input) {
	input = input.split('\n');
	var input0 = input[0].split(' ');
	var input1 = input[1].split(' ');
	var N = parseInt(input0[0], 10);
	var K = parseInt(input0[1], 10);
	var h = input1;

	var results = [];
	for (var i = 0; i < N; i++) {
		if (parseInt(h[i], 10) >= K) {
			results.push(h[i]);
		}
	}
	console.log(results.length);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));