I interpret this as asking about the cardinality of the set of digits in the decimal expansion of an irrational number. One difficulty with that is that, strictly speaking a "set" does not have multiple instances of the same thing: the "set of digits" of any number is a subset of {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} and so is finite!
But what you MEAN, I feel sure, is "counting" the digits- that is labeling the first digit as d1, the next d2, how many digits are there? The answer is simply that doing that IS counting them. The fact that you CAN do that means that the set is countably infinite. A set is countably infinite if it can be put in a 1 to 1 relation with the set of all natural numbers- "listing" a set, so that there is a "first", a "second", etc. is obviously doing that. In fact, considering terminating decimals as ending with an infinite string of 0s (0.5 is 0.500000...) then the decimal expansions of ALL numbers are countably infinite.