Modify the way of displaying for number of items

fix #2946