Would like slightly simpler and I think equiv. if you do:
```
    if (i>0 && ((len-i) % 3) == 0)
        tmp += ','
    tmp += (char)prettyCount.at(i);
```