'use strict';
let execute = input => {
  let [conf, array] = input.split('\n').map(el => el.split(' '));
  const K = +conf[1];
  return array.filter(el => +el > K).length;
};

function Main(input) {
  console.log(execute(input));
}
Main(require('fs').readFileSync('/dev/stdin', 'utf8'));