def main():
    N, K = map(int, input().split())
    l = list(map(int, input().split()))
    a = 0
    for i in range(N):
        if l[i] >= K:
            a = a + 1
    print(a)
main() def main():
    N, K = map(int, input().split())
    l = list(map(int, input().split()))
    a = 0
    for i in range(N):
        if l[i] >= K:
            a = a + 1
    print(a) main N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K l = list(map(int, input().split())) l list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split a = 0 a 0 for i in range(N):
        if l[i] >= K:
            a = a + 1
     i range(N) range N if l[i] >= K:
            a = a + 1
     l[i] >= K l[i] l i K a = a + 1 a a + 1 a 1 print(a) print a main() main def main():
    N, K = map(int, input().split())
    l = list(map(int, input().split()))
    a = 0
    for i in range(N):
        if l[i] >= K:
            a = a + 1
    print(a) def main():
    N, K = map(int, input().split())
    l = list(map(int, input().split()))
    a = 0
    for i in range(N):
        if l[i] >= K:
            a = a + 1
    print(a) main
def main():
    N, K = map(int, input().split())
    l = list(map(int, input().split()))
    a = 0
    for i in range(N):
        if l[i] >= K:
            a = a + 1
    print(a)
main()