input = require('fs').readFileSync('/dev/stdin', 'utf8')
lines = input.split('\n')
line = lines.shift().split(' ')
N = line[0] * 1
K = line[1] * 1
h = lines.shift().split(' ')
ans = 0
for (i=0; i <N; i++) {
    if (h[i] * 1 >= K) {
        ans++
    }
}
console.log(ans)