Given a number, create a function that returns a new number based on these rules:
digit_count(136116) ➞ 312332
# The number 1 appears thrice, so replace all 1s with 3s.
# The number 3 appears only once, so replace all 3s with 1s.
# The number 6 appears twice, so replace all 6s with 2s.
# Return as an integer.
digit_count(221333) ➞ 221333
digit_count(136116) ➞ 312332
digit_count(2) ➞ 1
All test input will be positive whole numbers.