Segment now implements Countable and IteratorAggregate Interfaces