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

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