4. Let $n=\overline{a b c}$ be a three-digit number, where $a, b, c$ are the lengths of the sides that can form an isosceles (including equilateral) triangle. The number of such three-digit numbers $n$ is $\qquad$.

 untranslated part: $\qquad$