n,m = map(int, raw_input().split(' '))
print sum([1 for e in  map(int, raw_input().split(' ')) if e >= m] or [0]) n,m = map(int, raw_input().split(' ')) n map(int, raw_input().split(' ')) map int raw_input().split(' ') ().split () raw_input split ' ' m print 1 for e in  map(int, raw_input().split(' ')) if e >= m for e in  map(int, raw_input().split(' ')) if e >= m e map(int, raw_input().split(' ')) map int raw_input().split(' ') ().split () raw_input split ' ' e >= m e m if e >= m 1 sum([1 for e in  map(int, raw_input().split(' ')) if e >= m] or [0]) sum [1 for e in  map(int, raw_input().split(' ')) if e >= m] or [0] [1 for e in  map(int, raw_input().split(' ')) if e >= m] [0] 0 n,m = map(int, raw_input().split(' ')) map(int, raw_input().split(' ')) n m = map(int, raw_input().split(' ')) map(int, raw_input().split(' ')) m
n,m = map(int, raw_input().split(' '))
print sum([1 for e in  map(int, raw_input().split(' ')) if e >= m] or [0])
