How many whole numbers between $100$ and $400$ contain the digit $2$? Fill in the blank with the number of such whole numbers.

Let's think step by step and output the final answer within \boxed{}.
user