const line = require('fs').readFileSync('/dev/stdin', 'utf-8').split('\n');

const max = Number(line[0].split(' ')[1]);
const h = line[1].split(' ').map(Number);

console.log(h.filter(x => x >= max).length);

