function read() {
  return require('fs')
    .readFileSync('/dev/stdin', 'utf8')
    .trim()
    .replace(/\n/g, ' ')
    .split(' ');
}

const inputs = read().map(token => +token);
const K = inputs[1];
const H = inputs.slice(2);
console.log(H.filter(h => h >= K).length);