How many numbers $\overline{abcd}$ with different digits satisfy the following property: if we replace the largest digit with the digit $1$, the resulting number is a multiple of $30$?

Let's think step by step and output the final answer within \boxed{}.
user