"use strict";
    
const main = arg => {
    arg = arg.trim().split("\n");
    const N = parseInt(arg[0].split(" ")[0]);
    const K = parseInt(arg[0].split(" ")[1]);
    
    const h = arg[1].split(" ").map(n=>parseInt(n));
    
    console.log(h.filter(n=>n>=K).length);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));