def main():
    n, k = map(int, input().split())
    h = [int(x) for x in input().split()]
    cnt = 0
    for i in range(n):
        if h[i] >= k:
            cnt += 1
    print(cnt)

if __name__ == '__main__':
    main() def main():
    n, k = map(int, input().split())
    h = [int(x) for x in input().split()]
    cnt = 0
    for i in range(n):
        if h[i] >= k:
            cnt += 1
    print(cnt) main n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x h = [int(x) for x in input().split()] h [int(x) for x in input().split()] cnt = 0 cnt 0 for i in range(n):
        if h[i] >= k:
            cnt += 1
     i range(n) range n if h[i] >= k:
            cnt += 1
     h[i] >= k h[i] h i k cnt += 1 cnt 1 print(cnt) print cnt if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    n, k = map(int, input().split())
    h = [int(x) for x in input().split()]
    cnt = 0
    for i in range(n):
        if h[i] >= k:
            cnt += 1
    print(cnt) def main():
    n, k = map(int, input().split())
    h = [int(x) for x in input().split()]
    cnt = 0
    for i in range(n):
        if h[i] >= k:
            cnt += 1
    print(cnt) main
def main():
    n, k = map(int, input().split())
    h = [int(x) for x in input().split()]
    cnt = 0
    for i in range(n):
        if h[i] >= k:
            cnt += 1
    print(cnt)

if __name__ == '__main__':
    main()