count digits practice problem gfg