There exists a number ZYXWVUTSRQ such that each letter represents one and only one digit between 0-9. However, different letters can represent the same digit. For example, both R and S can represent 9 but R cannot represent 9 and 8. Z is the count of the number of zeroes in the number, Y is the count of the number of ones, X is the count of the number of twos and so on. Find the number.