from sys import stdin

n, k = [int(x) for x in stdin.readline().rstrip().split()]
h = [int(x) for x in stdin.readline().rstrip().split()]

ans = 0

for hi in h:
    if (hi >= k):
        ans += 1

print(ans) from sys import stdin int(x) for x in stdin.readline().rstrip().split() for x in stdin.readline().rstrip().split() x stdin.readline().rstrip().split() stdin.readline().rstrip().split stdin.readline().rstrip() stdin.readline().rstrip stdin.readline() stdin.readline stdin readline rstrip split for x in stdin.readline().rstrip().split() int(x) int x n, k = [int(x) for x in stdin.readline().rstrip().split()] n [int(x) for x in stdin.readline().rstrip().split()] k int(x) for x in stdin.readline().rstrip().split() for x in stdin.readline().rstrip().split() x stdin.readline().rstrip().split() stdin.readline().rstrip().split stdin.readline().rstrip() stdin.readline().rstrip stdin.readline() stdin.readline stdin readline rstrip split for x in stdin.readline().rstrip().split() int(x) int x h = [int(x) for x in stdin.readline().rstrip().split()] h [int(x) for x in stdin.readline().rstrip().split()] ans = 0 ans 0 for hi in h:
    if (hi >= k):
        ans += 1 hi h if (hi >= k):
        ans += 1 hi >= k hi k ans += 1 ans 1 print(ans) print ans ans = 0 0 ans h = [int(x) for x in stdin.readline().rstrip().split()] [int(x) for x in stdin.readline().rstrip().split()] h k = [int(x) for x in stdin.readline().rstrip().split()] [int(x) for x in stdin.readline().rstrip().split()] k ans += 1 1 ans n, k = [int(x) for x in stdin.readline().rstrip().split()] [int(x) for x in stdin.readline().rstrip().split()] n
from sys import stdin

n, k = [int(x) for x in stdin.readline().rstrip().split()]
h = [int(x) for x in stdin.readline().rstrip().split()]

ans = 0

for hi in h:
    if (hi >= k):
        ans += 1

print(ans)