We need to put 4 stick (identical) between 11 balls (identical) such that no 2 stick are together
\(^{12}C_4 = \frac{12 \times 11 \times 10 \times 9}{4 \times 3 \times 2 \times 1} = 495\)
Let $ S $ be the set of all seven-digit numbers that can be formed using the digits 0, 1 and 2. For example, 2210222 is in $ S $, but 0210222 is NOT in $ S $.
Then the number of elements $ x $ in $ S $ such that at least one of the digits 0 and 1 appears exactly twice in $ x $, is equal to __________.


