Count of single-digit numbers: 9Count of two-digit numbers: 10P2 - 9P1= 90 - 9= 81Count of three-digit numbers: 10P3 - 9P2= 720 - 72= 648Consequently, the sum is 9 + 81 + 648 = 738.
The final result is 738.