function Main(input) {
    var data = input.split("\n")
	var req =  data[0].split(" ").map((n) => parseInt(n, 10));
	var height =  data[1].split(" ").map((n) => parseInt(n, 10));
	
	var count = 0;
	for(var i=0; i<req[0];i++){
		if(height[i] >= req[1]){
			count++;
		} 
	}
	console.log(count)
}
 
// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));