Convert the base-7 number \(342_{7}\) to a base-10 number. Then, find the number of distinct permutations of the digits in the resulting base-10 number. Let's think step by step and output the final answer within \boxed{}.
user