resettable counter

Hello Rob,

After modificating the program like showed, it works. Only the number which entered, does not correspond to number which will be counted. When entering 12, counter will count 3, when enter 40, counter counts up to 7, and when I enter 100, it will count to 20. I am thinking about wheter this is binair, but this doesn't correspond. Can you help me how to solve this?

Until now I am already very happy with my results

Thanks!! Theo