Sofia has forgotten the passcode of her phone. She only remembers that it has four digits and that the product of its digits is $18$. How many passcodes satisfy these conditions?

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