Corrected getNumberOfSegments()