And those who want also the schematic + code package, see this link to the Melabs Website. Choose Counter.zip

http://www.melabs.com/resources/samples.htm#submitted