A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Enter the digits 0 to 9 in a column, for example in D1:D10.
Enter the following formula in E1:
=SUMPRODUCT(LEN($A$1:$A$200)-LEN(SUBSTITUTE($A$1:$A$200,D1,"")))
It doesn't matter if column A has fewer than 200 entries, but if you expect more, change the formula accordingly.
Fill or copy down from E1 to E10.