N, K = map(int, input().split())
print(sum([h >= K for h in map(int, input().split())])) N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K h >= K for h in map(int, input().split()) for h in map(int, input().split()) h map(int, input().split()) map int input().split() ().split () input split for h in map(int, input().split()) h >= K h K print(sum([h >= K for h in map(int, input().split())])) print sum([h >= K for h in map(int, input().split())]) sum [h >= K for h in map(int, input().split())] K = map(int, input().split()) map(int, input().split()) K N, K = map(int, input().split()) map(int, input().split()) N
N, K = map(int, input().split())
print(sum([h >= K for h in map(int, input().split())]))