Countif works if you want to count the # of "1" in a range that contains
1,11,111 and return the value 1.
if not, you want to count times that a character (number) occured, look for
the recent message in this group called "counting text" started by "stavrou"
which contains a formula to count all occurences.