Modify the way of displaying for number of charges and number of items

Modification according to #2946