add countSet data structure