Adding the exact counter based on the book example, but not working very well.
Merge branch 'master' of https://github.com/fernandocastor/pp