function Main(input) {
  input = input.split('\n');
  tmp = input[0].split(' ');
  heights = input[1].split(' ');
  numFriends = tmp[0];
  minHeight = tmp[1]; 
  var count = 0;

  for(var i = 0; i < numFriends - 1; i++) {
    if(heights[i] >= minHeight) {
      count++;
    }
  }
  console.log('%d', count);
}
Main(require('fs').readFileSync('/dev/stdin', 'utf-8'));
