Jana had to calculate the product of two six-digit numbers for her homework. While copying from the board, she missed one digit in one of the numbers, and instead of a six-digit number, she wrote 85522. When she got home, she realized her mistake but remembered that the number she copied incorrectly was divisible by three. She decided to try to determine what the original number could have been.
Determine how many such six-digit numbers exist.