How many three digit positive integers are there such that the three digits are in increasing order (like 145) or Decreasing (like 321)?

if we look at it 123 (7!)

234 (6!) because 235,236 to 9 and then 3 goes up to 6

But the asnwer is 204

Please help