import Control.Applicative
import Control.Monad
import Data.List
import Data.Array
import Data.Char

main = do
  [n, k] <- map (read::String -> Int) . words <$> getLine
  arr <- map (read::String -> Int) . words <$> getLine
  print . length $ filter (\num -> num >= k) arr