add total count of selection.