Removes 'segmentCount' variable.

- Along with the variable, respective getter method was also removed.

Bug: 62204
Change-Id: I29f1529e4007f75112d7a91b10a26b2f919f6c26