Now prints count of memory segments, then the segments themselves.