n, k = map(int, input().split())
h = list(sorted(map(int, input().split()))[::-1])
i = 0
for j in range(n):
    if h[j] >= k:
        i += 1
print(int(i)) n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k h = list(sorted(map(int, input().split()))[::-1]) h list(sorted(map(int, input().split()))[::-1]) list sorted(map(int, input().split()))[::-1] (map(int, input().split())) sorted map(int, input().split()) map int input().split() ().split () input split ::-1 -1 i = 0 i 0 for j in range(n):
    if h[j] >= k:
        i += 1 j range(n) range n if h[j] >= k:
        i += 1 h[j] >= k h[j] h j k i += 1 i 1 print(int(i)) print int(i) int i k = map(int, input().split()) map(int, input().split()) k i += 1 1 i n, k = map(int, input().split()) map(int, input().split()) n h = list(sorted(map(int, input().split()))[::-1]) list(sorted(map(int, input().split()))[::-1]) h i = 0 0 i
n, k = map(int, input().split())
h = list(sorted(map(int, input().split()))[::-1])
i = 0
for j in range(n):
    if h[j] >= k:
        i += 1
print(int(i))