Change One Credit counter algorithm