var input = readLine()!.split(separator: " ").map{Int($0)!}
let (N, K) = (input[0], input[1])

let hs = readLine()!.split(separator: " ").map{Int($0)!}

var count = 0
for h in hs{
    if h >= K{
        count += 1
    }
}

print(count)
