n, k = map(int, input().split())
list01 = input().split()
list02 = [int(a) for a in list01]
x = 0
for i in list02:
    if i >= k:
        x += 1
    else:
        pass
print(x) n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k list01 = input().split() list01 input().split() ().split () input split int(a) for a in list01 for a in list01 a list01 for a in list01 int(a) int a list02 = [int(a) for a in list01] list02 [int(a) for a in list01] x = 0 x 0 for i in list02:
    if i >= k:
        x += 1
    else:
        pass i list02 if i >= k:
        x += 1
    else:
        pass i >= k i k x += 1 x 1 print(x) print x list01 = input().split() input().split() list01 n, k = map(int, input().split()) map(int, input().split()) n x = 0 0 x list02 = [int(a) for a in list01] [int(a) for a in list01] list02 x += 1 1 x k = map(int, input().split()) map(int, input().split()) k
n, k = map(int, input().split())
list01 = input().split()
list02 = [int(a) for a in list01]
x = 0
for i in list02:
    if i >= k:
        x += 1
    else:
        pass
print(x)