def actual(n, k, h_list):
    return len([h for h in h_list if h >= k])

n, k = map(int, input().split())
h_list = map(int, input().split())

print(actual(n, k, h_list)) def actual(n, k, h_list):
    return len([h for h in h_list if h >= k]) actual h for h in h_list if h >= k for h in h_list if h >= k h h_list h >= k h k if h >= k h return len([h for h in h_list if h >= k]) len([h for h in h_list if h >= k]) len [h for h in h_list if h >= k] n n k k h_list h_list n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k h_list = map(int, input().split()) h_list map(int, input().split()) map int input().split() ().split () input split print(actual(n, k, h_list)) print actual(n, k, h_list) actual n k h_list n, k = map(int, input().split()) map(int, input().split()) n h_list = map(int, input().split()) map(int, input().split()) h_list def actual(n, k, h_list):
    return len([h for h in h_list if h >= k]) def actual(n, k, h_list):
    return len([h for h in h_list if h >= k]) actual k = map(int, input().split()) map(int, input().split()) k
def actual(n, k, h_list):
    return len([h for h in h_list if h >= k])

n, k = map(int, input().split())
h_list = map(int, input().split())

print(actual(n, k, h_list))