in reply to Re: Counting lines as I write them...in thread Counting lines as I write them...
total{'***'}++ et al will work much better (and in fact will actually compile) with the correct leading sigil ($) . . .