Ciena interview question

A small program to count integer digits