const main = input =>{
    const IN = input.split("\n");
    const N = parseInt(IN[0].split(" ")[0]);
    const K = parseInt(IN[0].split(" ")[1]);
    const list = IN[1].split(" ")
    count = 0;

    for(var i=0; i<N; i++){
        if(list[i] >= K){
            count ++;
        }
    }
    console.log(count);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
