Using counting to add digits up to 100