def some():
    n, k = map(int, input().split(" "))
    h = map(int, input().split(" "))
    print(len([i for i in h if i >= k]))
some() def some():
    n, k = map(int, input().split(" "))
    h = map(int, input().split(" "))
    print(len([i for i in h if i >= k])) some n, k = map(int, input().split(" ")) n map(int, input().split(" ")) map int input().split(" ") ().split () input split " " k h = map(int, input().split(" ")) h map(int, input().split(" ")) map int input().split(" ") ().split () input split " " i for i in h if i >= k for i in h if i >= k i h i >= k i k if i >= k i print(len([i for i in h if i >= k])) print len([i for i in h if i >= k]) len [i for i in h if i >= k] some() some def some():
    n, k = map(int, input().split(" "))
    h = map(int, input().split(" "))
    print(len([i for i in h if i >= k])) def some():
    n, k = map(int, input().split(" "))
    h = map(int, input().split(" "))
    print(len([i for i in h if i >= k])) some
def some():
    n, k = map(int, input().split(" "))
    h = map(int, input().split(" "))
    print(len([i for i in h if i >= k]))
some()