function main (input) {
  var inputs = input.split("\n");
  var th = inputs[0].split(" ").map(elm => {return Number(elm)});
  var h = inputs[1].split(" ").slice(0,th[0]).map(elm => {return Number(elm)});
  //console.log(h,th);
  
  var a = h.filter(elm => {return elm >= th[1]}).length;     
  console.log(a);

}

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