Adds UI for all counter types.

This is not part of the course exercises, but forms the basis for the
networking course.