readInts :: IO [Int]
readInts = map read . words <$> getLine

main :: IO ()
main = do
  [n, k] <- readInts
  hs <- readInts
  print $ solve k hs

solve :: Int -> [Int] -> Int
solve k hs = length [ h | h <- hs, h >= k ]