If you only have single digits as per your example then this formula will count them

=COUNT(FIND({1,2,3,4,5,6,7,8,9,0},A1))

but