#!/usr/bin/env python3

import sys, math

input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')

sys.setrecursionlimit(10**8)

inf = float('inf')

ans=count=0





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

h=list(map(int,input().split()))

for hi in h:

    if hi>=k:

        count+=1

print(count)
#!/usr/bin/env python3

import sys, math, itertools, heapq, collections, bisect

input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')

sys.setrecursionlimit(10**8)

inf = float('inf')

ans = count = 0



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

h=list(map(int,input().split()))

for hi in h:

    if hi>=k:

        ans+=1

print(ans)
#!/usr/bin/env python3
import sys, math

input = lambda: sys.stdin.buffer.readline().rstrip().decode("utf-8")
sys.setrecursionlimit(10**8)
inf = float("inf")
ans = count = 0
n, k = list(map(int, input().split()))
h = list(map(int, input().split()))
for hi in h:
    if hi >= k:
        count += 1
print(count)

#!/usr/bin/env python3
import sys, math, itertools, heapq, collections, bisect

input = lambda: sys.stdin.buffer.readline().rstrip().decode("utf-8")
sys.setrecursionlimit(10**8)
inf = float("inf")
ans = count = 0
n, k = list(map(int, input().split()))
h = list(map(int, input().split()))
for hi in h:
    if hi >= k:
        ans += 1
print(ans)

-import sys, math +import sys, math, itertools, heapq, collections, bisect -        count += 1 -print(count) +        ans += 1 +print(ans)