simple significant figure counter