add count and remove method in SortedSet.