Find the number of positive integers that satisfy both the following conditions: * Each digit is a $1$ or a $2$ or a $3$ * The sum of the digits is $12$