Step 1: Count by the larger of the two outer digits:
Think of the pair $(x, z)$ first. Once the pair is chosen, y can be any digit larger than both, so y can be any of the digits from $\max(x,z)+1$ up to 9. That is $9 - \max(x,z)$ choices.
Step 2: How many pairs have a given maximum M:
Let $M = \max(x,z)$. Remember x runs from 1 to 9 and z runs from 0 to 9.
Pairs with both $x \leq M$ and $z \leq M$: x has M choices and z has $M+1$ choices, so $M(M+1)$ pairs.
Pairs with both $x \leq M-1$ and $z \leq M-1$: $(M-1)M$ pairs.
So the number of pairs whose maximum is exactly M is $M(M+1) - (M-1)M = 2M$.
Step 3: Multiply and add:
Each such pair has $9 - M$ choices of y, and M can be 1 up to 8 (for $M = 9$ there is no digit bigger).
\[ \sum_{M=1}^{8} 2M(9-M) = 2\left(9 \cdot 36 - 204\right) = 2(324 - 204) = 240 \]
Here $\sum_{M=1}^{8} M = 36$ and $\sum_{M=1}^{8} M^2 = 204$.
Step 4: Check against the first idea:
Counting by y instead gives $\sum y(y-1) = 240$ too, so both routes agree. Options 245, 285 and 320 are therefore not the right count.
Final Answer:
Both counting routes give 240 numbers.
\[ \boxed{\text{Option (3): } 240} \]