import sys
input = sys.stdin.readline
from collections import defaultdict, deque
from bisect import bisect_left

(n, k), s = map(int, input().split()), sorted(list(map(int, input().split())))
print(len(s[bisect_left(s, k):])) import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline from collections import defaultdict, deque from bisect import bisect_left (n, k), s = map(int, input().split()), sorted(list(map(int, input().split()))) (n, k) n k map(int, input().split()) map int input().split() ().split () input split s sorted(list(map(int, input().split()))) sorted list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split print(len(s[bisect_left(s, k):])) print len(s[bisect_left(s, k):]) len s[bisect_left(s, k):] s bisect_left(s, k): bisect_left(s, k) bisect_left s k s = map(int, input().split()), sorted(list(map(int, input().split()))) sorted(list(map(int, input().split()))) s input = sys.stdin.readline sys.stdin.readline input
import sys
input = sys.stdin.readline
from collections import defaultdict, deque
from bisect import bisect_left

(n, k), s = map(int, input().split()), sorted(list(map(int, input().split())))
print(len(s[bisect_left(s, k):]))