ex22_main: has refactored away the shadowed variable `counter`. I understand how this can happen, but it is a pity the code no longer conforms to the book or the video.