Implement an iterator to iterate a list of compressed integer count pair.