function Main(input) {
  input = input.split("\n");
  var Line1 = input[0].split(" ").map(Number);
  var H = input[1].split(" ").map(Number);
  var N = Line1[0];
  var K = Line1[1];
  var Count = 0;
  for(var i=0;i<N;i++){
    if(H[i] >= K){
      Count ++;
    }
  }
  console.log(Count);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
