SegmentedControl : Added count and currentIndex property