n,k=(int(x) for x in input().split())
h=list(int(x) for x in input().split())
c=0
for i in h:
    if i>=k:
        c+=1

print(c) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x n,k=(int(x) for x in input().split()) n (int(x) for x in input().split()) k h=list(int(x) for x in input().split()) h list(int(x) for x in input().split()) list int(x) int x c=0 c 0 for i in h:
    if i>=k:
        c+=1 i h if i>=k:
        c+=1 i>=k i k c+=1 c 1 print(c) print c c=0 0 c c+=1 1 c h=list(int(x) for x in input().split()) list(int(x) for x in input().split()) h k=(int(x) for x in input().split()) (int(x) for x in input().split()) k n,k=(int(x) for x in input().split()) (int(x) for x in input().split()) n
n,k=(int(x) for x in input().split())
h=list(int(x) for x in input().split())
c=0
for i in h:
    if i>=k:
        c+=1

print(c)