minor refoprmatting of LineCounter example