function Main(input) {
    input = input.split("\n");
    var a = input[0].split(" ");
    a=a.map(e=>parseInt(e,10));
    var b = input[1].split(" ");
    b=b.map(e=>parseInt(e,10));
    
    console.log(
        b.reduce((prev,curr)=>{
            if(curr>=a[1]){
                return prev+1;
            }else{
                return prev;
            }
        },0)
    )
    


}

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

