added counts of characters